From dailybot
Send emails to any address via Dailybot. Use for notifications, summaries, or follow-ups the user asks you to send.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dailybot:emailThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Send emails on behalf of the user's agent through Dailybot. Useful for notifications, summaries, follow-ups, weekly reports, or any communication that should be delivered as email.
Send emails on behalf of the user's agent through Dailybot. Useful for notifications, summaries, follow-ups, weekly reports, or any communication that should be delivered as email.
Read and follow the authentication steps in ${CLAUDE_PLUGIN_ROOT}/shared/auth.md. That file covers CLI installation, login, API key setup, and agent profile configuration.
If auth fails or the user declines, skip and continue with your primary task.
Run the bundled context detection script:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/detect-context.sh"
Capture the agent_name value from the JSON output.
Fallback — if the script fails, use the default agent name "claude-code".
command -v dailybot
${CLAUDE_PLUGIN_ROOT}/shared/http-fallback.md for base curl patterns)Timeout: Allow at least 30 seconds for CLI commands to complete. Do not use a shorter timeout.
dailybot agent email send \
--to [email protected] \
--to [email protected] \
--subject "Weekly build report" \
--body-html "<h2>Build Report</h2><p>All 142 tests passing. Deployed to staging.</p>" \
--name "<agent_name>"
| Flag | Description |
|---|---|
--to | Recipient email address (repeatable for multiple recipients) |
--subject | Email subject line (max 512 characters) |
--body-html | HTML email body |
--name | Agent name (omit if default profile configured) |
curl -s -X POST https://api.dailybot.com/v1/agent-email/send/ \
-H "X-API-KEY: $DAILYBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_name": "<agent_name>",
"to": ["[email protected]", "[email protected]"],
"subject": "Weekly build report",
"body_html": "<h2>Build Report</h2><p>All 142 tests passing. Deployed to staging.</p>"
}'
| Field | Required | Description |
|---|---|---|
agent_name | Yes | Your consistent agent identifier |
to | Yes | Array of recipient email addresses (max 50 per request) |
subject | Yes | Email subject line (max 512 characters) |
body_html | Yes | HTML email body |
metadata | No | Arbitrary key-value pairs for tracking context |
{
"sent_count": 2,
"total_recipients": 2,
"reply_to": "[email protected]"
}
Agents are rate-limited to a number of emails per hour (default: 50, configurable per organization plan). If you exceed the limit, you'll receive a 429 response:
{
"detail": "Agent email hourly limit exceeded.",
"limit": 50,
"current": 50
}
Wait for the hourly window to reset before retrying. Do not retry in a tight loop.
Every agent has a dedicated email inbox (the reply_to address in the send response, e.g. [email protected]). When someone replies to an email sent by the agent, the reply is automatically delivered as a message to the agent's inbox.
Fetch replies using the /dailybot:messages skill or directly:
dailybot agent message list --name "<agent_name>" --pending
Email replies appear as messages with "message_type": "email" and include the sender's email address and subject in the message metadata.
After the command runs:
Sending email must never block your primary work. If the CLI is missing, auth fails, the network is down, or the command errors:
npx claudepluginhub dailybothq/dailybot-claude-plugin --plugin dailybotReference for writing and editing skills with predictable behavior, covering invocation models, description writing, and information hierarchy.