botmail is an open-source Python CLI (MIT) that hands your coding agents a mailbox on a domain you control. Incoming mail is stored in your AWS account; your agent lists, reads, waits for, and replies from the shell with JSON output.
Point the agent at agent@example.com while it signs up somewhere else. It runs wait, grabs the code or magic link, and keeps going without you pasting from a webmail tab.
Your agent reads the conversation, pulls links from the HTML body, and sends a reply in the same thread when a human would have answered from the desk.
Invoices, exports, and PDFs from vendors land in S3. The agent saves them locally with save-attachments when a workflow needs the file on disk.
Forms and vendors email documents to a purpose address on example.com. The agent lists new mail, routes each message, and hands structured JSON to the next step.
You keep the domain and the AWS account. botmail only reads and sends through APIs you authorize.
Install once with pipx, then point your agent at the same commands you would run by hand.
pipx install 'botmail @ git+https://github.com/emaillme/botmail.git'
botmail wait \
--to agent@example.com \
--timeout 600 \
--json
You verify a domain in Amazon SES, turn on receiving in a supported region, and deploy the included CloudFormation stack.
You add an MX record so mail for addresses like agent@example.com reaches SES on your account.
Most of that is DNS and CloudFormation. After that, pipx install and one wait command prove the path.
If you would rather not run AWS yourself, Personal on ask@emaillme.com gives you an agent that answers from email you already send. If you need lookup-and-reply on a work address with drafts and allowances, see Pro.
The CLI is MIT licensed and free to use. You pay AWS for SES, S3, and any data transfer on your own account, usually pennies at low volume.
Amazon documents receiving regions on the SES page for email receiving. Pick one of those regions for the receipt rule and S3 bucket in the template, and keep the MX configuration aligned with that choice.
Yes, in the sense that messages stay in your AWS account. S3 holds the raw mail; IAM policies in the stack are scoped so only what you allow can read them.
Yes. botmail is a shell CLI with --json on every command, and the repo ships AGENTS.md so coding agents know how to call list, read, wait, links, send, and reply from a terminal or task runner.