/dailybot:emailfrom dailybot
Send emails to any address via Dailybot. Use for notifications, summaries, or follow-ups the user asks you to send.
Ships in dailybot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole 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.
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:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dailybothq/dailybot-claude-plugin --plugin dailybot5 skills in this plugin
/healthAnnounce agent status to Dailybot and receive pending messages. Use at session start, periodically during long sessions, or at session end./messagesCheck for pending messages and instructions from your team via Dailybot. Use when starting a session, checking what to work on, or reviewing team input./reportReport work progress to Dailybot. Use after completing a discrete task or subtask, or after any batch of edits that modifies 3 or more files. Do not wait for permission. Include what changed and why./setupSet up the Dailybot plugin — install the CLI, authenticate, and configure the agent profile. Use on first install or when setup needs to be redone.Other plugins' skills for the same job