Skip to main content

Sendgrid

To configure Sendgrid as your SMTP server, create an account & login to Sendgrid.

1. Navigate to the Integration Section

click to expand

2. Select the SMTP Relay integration option

click to expand

3. Create a new API key and copy all the fields

4. Navigate to the Sendgrid Senders Section

Click to expand

5. Create a new sender identity from which emails will be sent

Click to expand

note

You can also configure the email service provider using Admin settings.

6. Update the values in your instance configuration

# Example docker configuration
# ***** Email **********
APPSMITH_MAIL_ENABLED=true
APPSMITH_MAIL_FROM=YOUR_SENDER_IDENTITY_EMAIL_ID
APPSMITH_REPLY_TO=YOUR_SENDER_IDENTITY_EMAIL_ID
APPSMITH_MAIL_HOST=smtp.sendgrid.net
APPSMITH_MAIL_PORT=587
# ***** Set to true if providing a TLS port ******
APPSMITH_MAIL_SMTP_TLS_ENABLED=true
APPSMITH_MAIL_USERNAME=apikey
APPSMITH_MAIL_PASSWORD=YOUR_SENDGRID_API_KEY
APPSMITH_MAIL_SMTP_AUTH=true
# ******************************

5. Restart the appsmith instance

tip

Once you've verified your sender identity, your email service should be configured correctly