Agent Mail Plan

Letting agents read and reply for support@simple-host.app and hello@vineetsriram.com by connecting directly to Titan's mail servers (IMAP to read, SMTP to send). Updated Sep 26, 2026.

1. Where things stand

Itemsimple-host.appvineetsriram.com
MX → TitanVerifiedVerified
SPFVerifiedVerified
DKIMVerified titan1Verified titan2
DMARCp=quarantinep=quarantine
Forward copy to vineetu@gmail.comOnOn
Third-party (IMAP/SMTP) accessEnabledEnabled

Connection settings

ProtocolHostPortSecurity
IMAP (read)imap.titan.email993SSL/TLS
SMTP (send)smtp.titan.email465SSL/TLS

Username is the full email address. Sending through Titan's SMTP keeps the SPF and DKIM passes, so replies from agents authenticate the same way as replies from webmail.

2. Architecture

Titan inbox→ IMAP IDLE →Mail bridge→Triage agent→Policy gate→Draft (IMAP APPEND) or send (SMTP)→Audit log

Tools the bridge exposes (MCP server + Python library)

ToolWhat it doesRisk
list_messages(account, folder, since, unread_only)Headers and snippetsRead
get_message(account, uid)Full body as plain text; attachments listed, not downloadedRead
search(account, query)IMAP SEARCH by sender, subject, dateRead
create_draft(account, reply_to_uid, body)Threaded reply saved to DraftsLow
send_reply(account, reply_to_uid, body)Sends via SMTP and copies it to Sent. Only allowed when the policy gate allows itHigh
mark(account, uid, flags) / move(account, uid, folder)Mark read, flag, file into foldersLow

There is deliberately no delete tool. Agents file mail into folders; only you delete.

3. Autonomy levels

LevelAgent canWhen to move up
L0 ObserveRead, classify, summarize into a daily digestClassifications look right for a week
L1 Draft (start here)Everything in L0, plus threaded drafts in DraftsYou send most drafts with few edits
L2 Selective sendAuto-send only allowlisted categories (acknowledgements, FAQ answers, scheduling links)No bad sends for several weeks
L3 Broad sendAuto-send anything outside the never-listOnly if L2 has been clean for a long stretch

4. Guardrails (enforced in code)

5. Credentials

  1. Turn on two-factor authentication for each Titan mailbox (Settings → Security & Access).
  2. Generate an app password per mailbox for the bridge. Once 2FA is on, Titan requires an app password for IMAP/SMTP, and you can revoke it without changing your main password.
  3. Store the app passwords only in the bridge's environment or secret store, never in agent prompts, repositories or pages.
TITAN_SUPPORT_USER=support@simple-host.app
TITAN_SUPPORT_PASS=<app password>
TITAN_HELLO_USER=hello@vineetsriram.com
TITAN_HELLO_PASS=<app password>
IMAP_HOST=imap.titan.email   IMAP_PORT=993
SMTP_HOST=smtp.titan.email   SMTP_PORT=465
AGENT_MAIL_MODE=draft

6. Build phases

Phase 1 — Access (today) Done

Phase 2 — Credentials

Phase 3 — Mail bridge

Phase 4 — Triage at L0 → L1

Phase 5 — L2 selective send

7. Open decisions