Skip to main content

Connecting Sendgrid, Mailgun, and other SMTP providers

Guide on how to connect accounts with custom SMTP and IMAP

Updated yesterday

You can link Sendgrid, Mailgun, Amazon SES, and other SMTP providers to Instantly by combining SMTP from these services with IMAP from your email provider.

To establish this connection, you'll require an IMAP inbox to integrate SendGrid, Mailgun, or other services with Instantly, enabling support for all features. Many of our users opt to use their Gmail account as the IMAP target for receiving emails while utilizing SendGrid or Mailgum for SMTP to send emails.

Note: Connecting your Outlook accounts through the IMAP/SMTP method is not feasible, as Outlook/Microsoft accounts can only be connected via the oAuth Microsoft connector.


Steps to link Sendgrid with Google IMAP

If you're looking to link Sendgrid with Google IMAP for seamless email integration, please follow these straightforward steps:

  1. Generate an App Password in your Google Account
    Begin by generating an app-specific password within your Google account settings. This password will be used to authenticate your connection between Sendgrid and Google IMAP.

  2. Select the IMAP/SMTP method in your Instantly Account
    Log in to your Instantly account and select the 'Connect existing accounts -> IMAP/SMTP' method.

  3. Choose Single Account Configuration
    Select the Single Account option to configure a single account setup.

  4. Enter Your Email Address
    Input the name and email address associated with your Google account.

  5. Provide IMAP Configuration Details
    Enter the following IMAP settings:

    • Username: Your email account

    • Password: Use your Google app password generated in step 1 as the password for authentication.

    • IMAP Host: imap.gmail.com

    • Port: 993

  6. Configure SMTP Settings with Sendgrid in the SMTP section:

    • Username: Enter "apikey" as the username.

    • Password: Obtain the API Key from your Sendgrid account and use it as the password.

    • SMTP Host: smtp.sendgrid.net

    • Port: 587

  7. Submit and Confirm
    After entering all necessary details, click on the submit button to finalize the connection setup.


IMAP/SMTP connection fails

When connecting accounts via the IMAP/SMTP method, ensure that you are entering the correct credentials, IMAP/SMTP server, and port details. Typos can lead to connection issues.

It's recommended to contact your IMAP/SMTP provider to obtain accurate details. You can also check this article for the most popular providers.

Please perform the test below:

If the test fails, please share a screenshot of the result page with your provider to investigate why the IMAP/SMTP is failing.


Account already added error

If you're getting an error 'Account already added', it means the email account has already been connected to another Instantly account or workspace.

Each email account can only be connected to one workspace. You can follow the steps below:

  • Remove the connected email account from the original Instantly account

  • Then you should be able to connect it to your new Instantly account

Did this answer your question?