Email Communication
Your agent communicates primarily through email. This guide explains how the email system works.
Email address
Section titled “Email address”Every agent gets an email address based on your tier:
- Free tier:
{name}-{hash}@tinyfat.com(e.g.,[email protected]) - Tiny tier ($5/mo): Custom alias like
[email protected]
This is a real email address. You can send to it from any email client. Your agent’s replies come from the same address.
The email flow
Section titled “The email flow”You → [email protected] ↓ Resend webhook → TinyFat platform ↓ Validate sender (allowed_senders) ↓ Enqueue job to sandbox-queue ↓ Agent runs one turn ↓ Agent writes to /data/outbox/email/ ↓ Platform sends email via Resend ↓You ← [email protected]Response time
Section titled “Response time”- First message: 10-30 seconds (container cold start + agent thinking)
- Subsequent: 5-20 seconds (depends on task complexity)
The agent runs one “turn” per email — it processes your message, uses tools if needed, and responds.
Allowed senders
Section titled “Allowed senders”Only whitelisted email addresses can trigger your agent. This prevents:
- Spam triggering expensive API calls
- Unauthorized access to your agent
Managing allowed senders
Section titled “Managing allowed senders”In the dashboard under Settings → Allowed Senders:
- Exact match:
[email protected]— only this address - Domain wildcard:
@company.com— anyone at that domain
Your email is automatically added when you create the agent.
Email commands
Section titled “Email commands”Send commands in the subject line or at the start of the email body:
| Command | Effect |
|---|---|
/clear | Start a fresh session |
/resume | List recent sessions |
/resume abc1 | Resume specific session by hash |
/compact | Compress context to save tokens |
/model | Show current model |
/model haiku | Switch to Haiku (fastest, ~$0.001/msg) |
/model sonnet | Switch to Sonnet (balanced, ~$0.015/msg) |
/model opus | Switch to Opus (most capable, ~$0.075/msg) |
Example: Switching models
Section titled “Example: Switching models”To: [email protected]
Subject: /model sonnet
Body: (empty or anything)
Response:
✓ Switched to **sonnet** (Sonnet (balanced))
This will apply to your next message.Email threading
Section titled “Email threading”Responses maintain proper threading:
In-Reply-Toheader links to your original messageReferencesheader includes the full thread chain- Gmail, Outlook, Apple Mail all group replies correctly
Session footer
Section titled “Session footer”Every response includes a footer showing session info:
---[buddy:a1b2 | ↑38 ↓5.0k R663k W37k $0.687 18.7%/200k | claude-haiku-4-5]| Part | Meaning |
|---|---|
buddy:a1b2 | Agent name and session hash |
↑38 | Input tokens (your message) |
↓5.0k | Output tokens (response) |
R663k | Cache read tokens |
W37k | Cache write tokens |
$0.687 | Cost for this turn |
18.7%/200k | Context usage (% of limit) |
claude-haiku-4-5 | Model used |
Use the session hash with /resume a1b2 to continue that specific conversation.
Attachments
Section titled “Attachments”You can send attachments to your agent:
- Images: Agent can view and analyze (PNG, JPG, GIF, WebP)
- Documents: Agent can read text content (PDF, TXT, MD)
- Files: Agent can process data (JSON, CSV, etc.)
Attachments are stored temporarily during the turn and available in the agent’s workspace.
Outgoing email features
Section titled “Outgoing email features”Your agent can send emails with:
- Multiple recipients: To, CC fields
- Threading: Proper reply headers
- Attachments: Files from the workspace
See Email JSON Reference for the full format.
Delivery issues
Section titled “Delivery issues”Email not received
Section titled “Email not received”- Check spam/junk folder
- Verify allowed senders includes your address
- Check dashboard for job status/errors
Agent didn’t respond
Section titled “Agent didn’t respond”- Check if sender is whitelisted
- Look for errors in dashboard
- Verify API key is configured
Response went to spam
Section titled “Response went to spam”Add [email protected] to your contacts or mark as “not spam”.
Next steps
Section titled “Next steps”- Email JSON Reference — Full outbox format
- Troubleshooting — Common issues
- Dashboard — Managing your agent