# Gmail with SMTP

Additionally, this method references free/personal Gmail accounts. Mileage will vary for Google Workspace accounts and will depend on organizational settings.

Send emails from your custom domain directly within your Gmail inbox!

<figure><img src="https://cdn.prod.website-files.com/67efe550215981d3ba4a2fbe/686d88747949ce5dc5663bcb_68674f211cd2059e771f352f_screenshot%202025-07-03%20at%2023.47.27.png" alt=""><figcaption></figcaption></figure>

**Prerequisites:**

* [**Create an SMTP Credential**](/smtp/create-smtp-credentials.md) in the YEY.email Dashboard**‍**<br>

#### 1 : Create your alias in Gmail <a href="#id-1-create-your-alias-in-gmail" id="id-1-create-your-alias-in-gmail"></a>

Open Gmail, head to "**Settings"** (cogwheel), "**See all Settings" , "Accounts and Import"** and under "**Send mail as"**  choose "**Add another email address".**

Fill in the settings as follows:

* **Email address** should be the **custom alias address** created in **Step 1**
* **Treat as an alias** should be **unchecked.**

<figure><img src="https://cdn.prod.website-files.com/67efe550215981d3ba4a2fbe/68752f2edf34977771cb25f9_smtp1.png" alt=""><figcaption></figcaption></figure>

* **SMTP server** is **`smtp.improvmx.com`**
* **Port** should remain **587**
* **Username** is the **custom alias address.**
* **Password** inserted is the password chosen in **Step 1**
* **Secure connection** with **TLS**‍

<figure><img src="https://cdn.prod.website-files.com/67efe550215981d3ba4a2fbe/687532e8bdd96ae4241f4fe7_smtp2.png" alt=""><figcaption></figcaption></figure>

\
2 : Confirm your alias

Check your inbox (the email address your alias forwards to). You’ll receive a confirmation email from Gmail - either click the verification link or enter the code provided to confirm your alias.

#### 3 : Test it! <a href="#id-3-test-it" id="id-3-test-it"></a>

Open **Gmail**, select **compose**, in the from field **choose your alias** and **enter a different recipient address** (*don’t use the same Gmail address your alias forwards to).*

Add a subject and message body, then click **Send**. **Check the recipient inbox** to confirm the test email was received.

\
**Success!** You can now send emails from your alias using SMTP in Gmail. Want to add more aliases? Just repeat the same steps.

If you run into any issues or have questions, feel free to reach out - we’re happy to help!

‍


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yey.email/smtp/gmail-with-smtp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
