AI agents and automation with your mailbox

69 views 0 found helpful Nov 15, 2026

AI agents and automation with your mailbox

Yes, an AI agent or a script can work with a mailbox the same way a mail app does. It reads mail over IMAP and sends mail over SMTP, signed in with the mailbox's full email address and its password. There is nothing to switch on first.

Settings for an agent or a script

  • Read mail (IMAP): server mail.atriomail.com, port 993, SSL/TLS.
  • Send mail (SMTP): server mail.atriomail.com, port 587 with STARTTLS, or port 465 with SSL/TLS.
  • Username: the full email address. Password: the mailbox password.

The same settings are on the Connect your mail client card in the control panel at system.atriomail.com.

An agent signed in this way can read and send everything the mailbox can. If it should not see all of a person's mail, give it a mailbox of its own. Mail it sends is mail from that mailbox, so the same rules apply as for a person: no bulk email, marketing campaigns or cold outreach.

What the API does

The API manages the account, not the messages in it: domains, mailboxes, forwarders, catch-alls, storage, customer accounts, migrations and DNS checks. It can also list a mailbox's Message log, the same list the control panel shows. Create a key on the API Keys page; it is shown once. The API allows up to 30 requests per minute. The article API Endpoints: The Complete List in this help center lists every call.

The API does not read or send the content of emails. To read or send mail, use IMAP and SMTP as above.

What there is not

  • No webhooks: nothing calls your agent when mail arrives. Have it check the mailbox over IMAP instead.
  • No ready-made connector for AI tools. An agent connects with the IMAP and SMTP settings above.
ai agent automation imap smtp api

Was this article helpful?

Thank you for your feedback!

We appreciate you helping us improve our documentation.