How to Host Your Email and WordPress Together

How to Host Your Email and WordPress Together

When you set up hosting for WordPress and start digging into cPanel, it can be tempting to click a few times and set up an email address with your domain. I mean, it’s right there.

While it sure is convenient to create an email address in the same place where you’re managing your site, it’s not always the best idea. Sure it’s free and takes all of a minute to set up, but there’s a lot of responsibility that comes with it at the same time.

Today, I’ll share how you can set up an email address with your domain through cPanel and your WordPress hosting, the pros and cons of hosting your own email, and when it’s a good idea. I’ll also cover when it’s best to go with a dedicated email provider instead.

Setting Up Email with cPanel

After logging into cPanel, go to Email > Email Accounts. This is where you can set up your first custom email address with your domain. For example, [email protected].

The cPanel main page. The "Email Accounts" button is highlighted.
Click the Email Accounts button after logging into cPanel.

Next, enter the email address you want. Include everything that should show up before the @ symbol. Then, enter and confirm the password you want to use with it.

You can click the Password Generator button to create a strong password automatically.

The Add Email Account page in cPanel.
Enter your desired username and password for your custom email address.

You can also choose your mailbox quota. This is the maximum amount of storage space your email address is allotted.

Every email you send has a file size based on what the email contains. Text emails are usually in and around 10 KB in size, whereas emails with images and attachments can end up being a lot larger. The exact size would depend on the file sizes of the images and attachments that were sent.

It may be important to note that the email software you use to check your mail typically comes with a limit to the file size of the attachments you’re allowed to send per email.

The default mailbox quota is 250 MB, which is usually enough for average use, but you can adjust this amount to whatever you want.

You can also select the unlimited radio button instead if you don’t want to set a specific limit and you want your email storage to be infinite.

Keep in mind that you are limited by your hosting plan and you can’t go over the storage space you have for your account. For example, if you have a limit of 10 GB storage, your address can’t receive more than that amount in emails even if you choose the unlimited mailbox quota option.

Once you have made your selection, uncheck the box below the Create Account button if you don’t want to receive a welcome email with configuration instructions. Otherwise, leave it checked.

Then, go ahead and click the Create Account button to activate your new, custom email address. If all goes well, you should see a message below the button you just clicked confirming that the process was successfully completed.

The cPanel Add Email Account page. The "Create Account" button is highlighted.
Choose your mailbox quota and click the Create Account button to activate your new email address.

Accessing Your New Email Account

Scroll down to the Email Accounts section and find your new email account listed. Click the More button toward the right and select the Access Webmail option.

The "Add Email Account" page in cPanel and the "Email Accounts" section. The "More" button has been clicked and the "Access Webmail" button is highlighted.
Click the More button next to your listed email account, then click the Access Webmail option.

A new tab should open in your browser where you can select the free email software you want to use to access your emails.

First, you’re prompted with a message to let you know you can change your email configuration option at any time. Click Got it to continue.

There are three options to choose from and selecting one makes it the default email platform for your account. You can change this later if you want.

It doesn’t matter which one you choose. It all comes down to personal preference.

The "Choose a Default Webmail Application" page in cPanel.
Choose the email app you want to use by default to check your mail.

Click the Webmail logo at the top of the page to access your email account.

You can check your email, send messages and do most of the tasks you’re used to in a standard email account.

An example email account page with the Roundcube app.
Click Webmail at the top of the page to access your email account for the first time.

Choosing the Default Email Software

To view a different email app you can use to access your account, click your address at the top of the page and click on the one on the list that you want to preview.

To select a new default webmail app, click on the star next to the email app’s name that you want to use. If you see a star that’s filled in, it means that the corresponding email app is the default.

The email address has been clicked at the top of the Webmail page and a different email app on the list is highlighted.
You can choose a different email app by first clicking your address at the top.

Hosting Your Own Email

Setting up a custom email address in cPanel alongside your WordPress site is pretty straightforward. But is it the best option? In most cases, it isn’t and it’s important to consider why before creating an email account.

Still, there are reasons why it could be a good solution:

  • Your website and email can be conveniently managed in the same place
  • You have full control over settings including spam filters and mailbox quotas
  • You can create as many email accounts as you want

That’s about where the pros end. The list of cons run a lot deeper:

  • A lot less stable – If your WordPress site goes down, your email does, too. Not all web hosting plans are hefty enough to handle email well.
  • Security is your responsibility – You’re responsible for making sure your site and your email are secure.
  • A secure site doesn’t mean your email is secure – There’s a lot more that goes into securing your email than a typical WordPress install.
  • If your email gets hacked, your site is at risk and vice versa – Having everything under one roof is as convenient for you as it is for hackers since they need to infiltrate fewer places to have access to more.
  • Many email apps are rudimentary – They often lack many features that you may be used to with email service providers such as Gmail.
  • It takes up a lot of your resources – Not only do you need to have enough storage space for your emails, but hosting your own email service takes up valuable space, and sending and receiving them eats up bandwidth.
  • Email migration is a huge undertaking – It’s a lot more difficult to migrate your email account than it is a WordPress site. This also makes it difficult if you decide you want to switch hosts.
  • Web hosting isn’t built for email hosting – Most web hosts are focused on, well, web hosting. They aren’t set up to host email well.
  • It’s complex – Running your own self-hosted email setup isn’t as simple as setting up a mailbox and there are a lot of moving parts.

For these reasons, you definitely shouldn’t set up email on the same server where you’re hosting your WordPress site, unless you’re running a quick test.

At the same time, there are instances where self-hosting your email isn’t such a bad idea:

  • You have a separate server that’s properly set up for hosting email.
  • You need a lot of control. For example, because you want to host email for a large company and you haven’t found a suitable alternative.
  • You want to add more security features than other solutions offer.
  • You require a lot of other email features and you can’t find a comparable email service.

If none of these situations apply to you, then it’s far better to set up an email account with a dedicated provider.

Dedicated Email Provider

In most cases, it’s best to set up your email through a dedicated email provider. It’s more stable, secure and you won’t need to migrate your email if you decide you want to switch web hosts.

The downside is you aren’t going to have as much control, but for most cases for typical uses, it’s not necessary.

It’s still important to research the email provider you choose to make sure you’re going to get the features and security you need with a reputable company.

Many hosting companies also offer a free email address with hosting, but there are many similar downsides as with self-hosting your email accounts:

  • Most web hosts are focused on web hosting and don’t offer a solid email solution.
  • This offer is usually made when you get shared hosting, which is less secure than other options.
  • If you decide to switch hosts, migrating your email is difficult, to say the least, especially if you host with a less than reputable company who decides to hold your email or other services for ransom.
  • The free email you get often comes with a tiny mailbox quota.
  • Depending on your web host, your email could go down if your site does as well.

If you need a reliable email account with enough storage space and the right amount of features, it’s best to choose a dedicated email provider, though, it comes with a price tag that ranges depending on the service you choose.

Wrapping Up

Self-hosting your email alongside your WordPress site isn’t your best bet in most cases, but there are situations where you would want to self-host your own email on a secure server, dedicated to your email.

For the typical user, a dedicated email provider is the best solution since it offers the most security and stability.

Your email account also isn’t the only thing you should keep separate from your WordPress hosting. Check out 10 Reasons Why Your Domains and WordPress Should Be Kept Separate for details.

For an in-depth overview of spam and fighting it, check out The Ultimate Guide to WordPress Spam.

Jenni McKinnon
Do you self-host your email or do you use a separate email service for that? If not, have you been tempted to host your own email? What email apps or email providers do you recommend? Share your experience in the comments below.