Once you connect your database to Metabase, you’ll want to configure an email account to send system notifications to your organization’s users. Metabase uses email to reset passwords, onboard new users, and notify you when something happens.
Metabase Cloud manages an email server for you, so you don’t need to set up email (and you won’t see SMTP settings in your Admin console).
If you like, you can still set up:
- a name for your Cloud email account (from name)
- an email address to recieve email replies (reply-to address)
Configuring your email account
For Metabase to send messages to your organization’s users, you’ll need to set up an email account to send emails via SMTP (simple mail transfer protocol), which is an email standard that secures emails with SSL security protection.
To start, go to the Admin Panel from the dropdown menu in the top right of Metabase, then from the Settings page, click on Email in the left menu.
You should see this form:
Here you’ll set:
- SMTP HOST: The address of the SMTP server that handles your emails.
- SMTP PORT: The port your SMTP server uses for outgoing emails.
- SMTP SECURITY:
- SMTP Username.
- SMTP Password.
You’ll also need to specify your:
- From address: The email address you want to use for the sender of emails.
- Reply-to address: The email address you want the replies to go to, if different from the from address.
Recommended email settings
- SSL is strongly recommended because it’s more secure and gives your account extra protection from threats.
- If your email service has a whitelist of email addresses that are allowed to send email, be sure to whitelist the email address that you put in the From Address field to ensure you and your teammates receive all emails from Metabase.
Notes for common email services
- In the SMTP host field, enter smtp.gmail.com
- Fill in 465 for the SMTP port field
- For the SMTP Security field, enter SSL
- In the SMTP username field, enter your Google Apps email address (e.g. firstname.lastname@example.org)
- Enter your Google Apps password in the SMTP password field
- Enter the email address you would like to be used as the sender of system notifications in the *From Address field.
- Log on to https://console.aws.amazon.com/ses.
- Click SMTP Settings from the navigation pane.
- Select Create My SMTP Credentials in the content pane.
- Create a user in the Create User for SMTP dialog box and then click Create.
- Next, select Show User SMTP Credentials to view the user’s SMTP credentials.
- Go back to the Metabase Admin Panel form and enter the info there.
Check if email quotas apply to your Amazon SES server. You may want to manage your email recipients using groups instead.
- Log in to your Mandrill account and locate your credentials from the SMTP & API Info page there.
- Your SMTP password is any active API key for your account — not your Mandrill password.
- Although Mandrill lists port 587, any port supported by Mandrill will work for SMTP email.
- Now you can go back to the Metabase Admin Panel form and enter the info there.
Approved domains for notifications
Adding approved domains allows you to restrict which email addresses people can send alerts and subscriptions to. This restriction only applies to sending email to people who lack an account with that Metabase. People with accounts in a Metabase who aren’t sandboxed will be able to email any other person with an account in that same Metabase.
To allow all domains, leave the field empty (allowing all domains is the default).
To specify multiple domains, separate each domain with a comma, with no space in between (e.g., “domain1,domain2”).
You can also set this property using the environment variable
This setting doesn’t affect existing subscriptions and alerts.
Suggest recipients on dashboard subscriptions and alerts
Control which recipients people can see when they create a new dashboard subscription or alert. For example, you may want to restrict people to viewing potential recipients that belong to the same groups they are a member of.
- Suggest all users
- Only suggest users in the same groups
- Don’t show suggestions
People who are sandboxed won’t see suggestions.