From SearchAtlas Toolkit
Sends an email via the Resend API after collecting recipient, subject, and content from the user. Formats the body as clean HTML for a professional appearance.
How this command is triggered — by the user, by Claude, or both
Slash command
/searchatlas:send-emailFiles this command reads when invoked
The summary Claude sees in its command listing — used to decide when to auto-load this command
# /searchatlas:send-email Send an email via the Resend API. ## Instructions ### Prerequisites The user must have `RESEND_API_KEY` and `EMAIL_FROM` set in their `.env` file. If not configured, direct them to: 1. Sign up at https://resend.com 2. Create an API key under API Keys 3. (Optional) Verify a sender domain under Domains 4. Add `RESEND_API_KEY` and `EMAIL_FROM` to `.env` For testing without a verified domain, they can use `[email protected]` as the from address. ### Step 1: Collect Details Ask the user for: - **Recipient email** — who should receive this? - **Subject** — wha...
Send an email via the Resend API.
The user must have RESEND_API_KEY and EMAIL_FROM set in their .env file. If not configured, direct them to:
RESEND_API_KEY and EMAIL_FROM to .envFor testing without a verified domain, they can use [email protected] as the from address.
Ask the user for:
Common patterns:
Compose the email body as HTML:
<h1>, <h2> for headings<p> for paragraphs<ul><li> for bullet lists<strong> for bold, <a href=""> for links<table> for tabular data (metrics, comparisons)Keep formatting clean and professional.
Use the integrations/email/send-email.sh script:
source .env
bash "$CLAUDE_PLUGIN_ROOT/integrations/email/send-email.sh" "$RESEND_API_KEY" "$EMAIL_FROM" "[email protected]" "Subject" "<html body>"
Show the user what was sent and confirm delivery.
✅ Email sent
📧 To: {recipient}
📋 Subject: {subject}
📝 Preview:
{body preview — first ~200 chars of plain text}
npx claudepluginhub search-atlas-group/amm-toolkit --plugin searchatlas