Configuration Methods
Teable supports two ways to configure email service:System Admin (Recommended)
Visual configuration with live testing. No restart required.
Environment Variables
Traditional configuration via
.env file. Requires container restart.Option 1: System Admin (Recommended)
The easiest way to configure email is through System Admin:- Log in as an administrator (the first registered user)
- Go to System Admin → Instance settings
- Find the Email config section
- Configure Notify email and Automation email as needed: click the button on the right of the row, enter the SMTP details in the dialog, and save

- Notify email: Used for user verification, password reset, invitations, system notifications, and similar emails. It is also what makes Sign in with email code available on the login page.
- Automation email: Used as the default mail service for automation Send Email actions. A single Send Email action can also configure its own custom SMTP server.
Configuration sources and priority
We recommend configuring mail service in System Admin → Instance settings → Email config first. The effective priority is:- Custom mail server inside the Send Email action: Applies only to that specific Send Email action in the current automation.
- System Admin → Instance settings → Email config → Automation email: Used by automation emails when the Send Email action does not configure its own mail server.
- System Admin → Instance settings → Email config → Notify email: Used for user verification, password reset, invitations, system notifications, and similar emails. It is also used as the fallback for automation emails if Automation email is not configured.
BACKEND_MAIL_*environment variables: Deployment-level default mail configuration. Used only as a fallback when the corresponding mailbox is not configured in System Admin.
Configuration Fields
Option 2: Environment Variables
For deployments where you prefer file-based configuration, use environment variables:We recommend configuring Notify email and Automation email in System Admin → Instance settings → Email config first. Environment variables are mainly used as deployment-level defaults and fallback configuration.
After changing environment variables, you must restart the Teable container for changes to take effect.
SMTP Provider Examples
AWS SES
AWS SES
Gmail
Gmail
Microsoft 365 / Outlook
Microsoft 365 / Outlook
SendGrid
SendGrid

