# Send WordPress email through an email service

Connect a WordPress site to Postmark, SendGrid, Mailgun or any SMTP account, so password resets, orders and form messages arrive instead of landing in spam.

## Before you start

- An account with an email service, and its SMTP username and password or API key.
- A sender address on a domain that the email service may send for.
- Permission to manage sites.

## Step 1: Open the Email tab

Open the WordPress site and click the **Email** tab.

To pick from all WordPress sites, open **Integrations**, **Site email** in the sidebar, and click **Open** next to the site. Its **Email** tab opens.

![Email tab of a WordPress site with the Email service, From email, From name, username and password fields](https://app.nuvlo.dev/docs/shots/site-email--tab.webp)

## Step 2: Choose the email service

Under **Email service**, choose **Postmark**, **SendGrid**, **Mailgun** or **Other (SMTP)**. For the first three, Nuvlo fills in the server, port 587 and TLS.

For **Other (SMTP)**, open **Server settings** and fill in **SMTP host**, **Port** and **Encryption** (**TLS**, **SSL** or **None**) from your provider.

## Step 3: Enter the sender and login

Fill in **From email** and **From name**. Every email the site sends uses them.

| Service | Username field | Password |
| --- | --- | --- |
| Postmark | **Server API token** | The same Server API token |
| SendGrid | **apikey**: type the word `apikey` | Your SendGrid API key |
| Mailgun | **SMTP username** | The SMTP password from Mailgun |
| Other (SMTP) | **Username** | Your SMTP password |

Use a From email on a domain your email service has verified, or emails land in spam.

Click **Save email settings**. A badge shows **On**.

## Step 4: Send a test email

Under **Send a test email to**, enter an address and click **Send test email**. The test arrives with the subject “Nuvlo SMTP Test”.

If it fails, the message shows what the email service answered. Check the username, password and server settings.

![Saved email settings with the On badge and the Send a test email form](https://app.nuvlo.dev/docs/shots/site-email--test.webp)

## Change or turn off email

To change the account, edit the fields and save again. Leave **Password** blank to keep the saved one.

**Turn off** removes the settings. WordPress then sends mail with the default PHP mailer, which most inboxes treat as spam.

With the Nuvlo plugin, WordPress admin also shows the account under **Nuvlo**, **Email**, where you can change the From fields and send a test. See [Use the Nuvlo plugins for WordPress](https://app.nuvlo.dev/docs/nuvlo-wordpress-plugin).

## PHP sites

PHP sites have the same option as **Outgoing mail**, under **Settings**, **Email** on the site’s page.

---
Source: https://app.nuvlo.dev/docs/site-email
