AGENT_VAULT_SMTP_HOST is unset, email notifications are silently disabled.
See environment variables for the full list of SMTP variables.
Provider guides
Generic SMTP
Generic SMTP
Set the following environment variables for any SMTP provider:
Hostname of the SMTP server to connect to.
Port of the SMTP server. Use
465 for implicit TLS, 587 for STARTTLS.SMTP authentication username.
SMTP authentication password.
Sender email address (e.g.
team@example.com).Display name used in the From header of outgoing emails.
TLS behavior for non-465 ports:
opportunistic (try STARTTLS, fall back to plain), required (STARTTLS must succeed), none (skip STARTTLS). Port 465 always uses implicit TLS.Skip TLS certificate verification. Useful for self-signed certificates in development, not recommended for production.
Twilio SendGrid
Twilio SendGrid
- Create an account and configure SendGrid to send emails.
- Create a SendGrid API Key under Settings > API Keys.
- Set a name for your API Key and select the “Restricted Key” option. Enable the “Mail Send” permission:


- With the API Key, set your SMTP environment variables:
Remember to restart Agent Vault after changing environment variables.
Mailgun
Mailgun
- Create an account and configure Mailgun to send emails.
- Obtain your Mailgun credentials in Sending > Overview > SMTP.

- With your Mailgun credentials, set your SMTP environment variables:
AWS SES
AWS SES
Create a verified identity
This will be used to verify the email you are sending from.

If your AWS SES is in sandbox mode, you will only be able to send emails to verified identities.
Create SMTP credentials
Create an IAM user for SMTP authentication and obtain SMTP credentials in SMTP settings > Create SMTP credentials.



Remember to restart Agent Vault after changing environment variables.
SocketLabs
SocketLabs
- Create an account and configure SocketLabs to send emails.
- From the dashboard, navigate to SMTP Credentials > SMTP & APIs > SMTP Credentials to obtain your credentials.


- With your SocketLabs SMTP credentials, set your environment variables:
The
AGENT_VAULT_SMTP_FROM should be an email for an authenticated domain under Configuration > Domain Management in SocketLabs. For example, if you’re using SocketLabs in sandbox mode, you may use an email like team@sandbox.socketlabs.dev.
Remember to restart Agent Vault after changing environment variables.
Resend
Resend
Gmail
Gmail
Create an account and enable “less secure app access” in Gmail Account Settings > Security. This allows applications like Agent Vault to authenticate via your username and password.
With your Gmail credentials, set your SMTP environment variables:

Office365
Office365
- Create an account and configure Office365 to send emails.
- With your login credentials, set your SMTP environment variables:
Zoho Mail
Zoho Mail
- Create an account and configure Zoho Mail to send emails.
- With your email credentials, set your SMTP environment variables:
You can use either your personal Zoho email address like
you@zohomail.com or a domain-based email address like you@yourdomain.com. If using a domain-based address, make sure you’ve configured and verified it with Zoho Mail.Remember to restart Agent Vault after changing environment variables.
SMTP2Go
SMTP2Go
- Create an account and configure SMTP2Go to send emails.
- Turn on SMTP authentication and set your environment variables:
TLS is available on ports 2525, 80, 25, 8025, and 587. SSL is available on ports 465, 8465, and 443.


