Skip to main content
Version: 3.0.0-LTS
Available on: Paid plans

Configuring SMTP

ToolJet uses SMTP (Simple Mail Transfer Protocol) to send emails for various purposes, including invitations and password reset requests. This guide will walk you through the process of configuring SMTP settings in ToolJet.

Prerequisites

Before you begin, ensure you have:

  • Admin access to ToolJet
  • SMTP server details from your email service provider
info

If you have upgraded from a version prior to v2.62.0, the SMTP variables in your .env file will automatically be mapped to the UI. For versions v2.62.0 and later, SMTP configuration will no longer be picked up from the .env file for Enterprise Edition. You must configure SMTP through the UI. You can safely remove these variables from your .env file after ensuring that the configuration is properly set up in the UI.

For Community Edition, SMTP configuration will still be managed via environment variables.

Configuration

  1. Navigate to the Settings section in ToolJet.
  2. Select the Email protocol (SMTP) tab.
  3. Toggle the switch to enable Email protocol (SMTP).
  4. Configure the following fields:
SMTP Configuration
FieldDescriptionExample
HostSMTP server hostnamesmtp.gmail.com
PortSMTP server port number587
UserSMTP account username[email protected]/b2313d02f4f4jb
PasswordSMTP account passworda13d0sd344
Sender's emailEmail address of the sender[email protected]
  1. Click Save changes to apply the new SMTP configuration.

Commonly Used Email Providers

Here are some general settings for the most commonly used email providers:

ProviderHostPortUsernamePasswordSender's email
Gmailsmtp.gmail.com587 or 465 (SSL)EmailPasswordEmail
Yahoo Mailsmtp.mail.yahoo.com465 (SSL)EmailPasswordEmail
Outlook.com/Hotmailsmtp.office365.com587 or 465 (SSL)EmailPasswordEmail
Zoho Mailsmtp.zoho.com587 or 465 (SSL)EmailPasswordEmail
SendGridsmtp.sendgrid.net587 or 465 (SSL)apikeyAPI keyEmail
Mailgunsmtp.mailgun.org587 or 465 (SSL)SMTP usernamePasswordEmail
info

For SendGrid and Mailgun, the sender's email can be different from the username, subject to the provider's verification requirements. The username for SendGrid is apikey, and the password is your API key. For Mailgun, you usually use a specific SMTP username and password provided by Mailgun, not your regular email credentials.