How to send your custom email from Gmail via Sendgrid

How to send your custom email from Gmail via Sendgrid

Suppose that you already setup Sendgrid account and request an API from sendgrid. Remember to store the API key somewhere because the key won't be revealed once you close the setup dialog.

  • Select Setting from Cog icon in Gmail
  • Select Accounts and Import tab
  • In Send mail as:, click Add another email address
  • Enter your name and your email for example myname@mydomain.com. And check (optionally) Treat as an alias. Goto Next step
  • Enter following info

SMTP Server: smtp.sendgrid.net

Username: apikey

Password: your setup Sendgrid API key

port: 587

Select: Secured connection using TLS (recommended)

Now click Add Account, check your email for the Verification code and finish setup.


Some may wonder how does Gmail confirm your possession of the mydomain.com domain.

Actually, when you request send an email from myname@mydomain.com, Gmail does not directly send the email, instead, it send a SMTP request to Sendgrid and Sendgrid will handle the rest.

In order to confirm your possession of the domain, Sendgrid will ask you to add some records to your DNS setting when you register a domain there.