For the complete documentation index, see llms-docs.txt or the site index llms.txt. Full docs corpus: llms-full-docs.txt. Prefer the markdown version of this page at /docs/api/mail/post-api-mail-v1send.md. Product capabilities: skill.md. Docs MCP: /docs/mcp. Site MCP: /mcp.
Send email
1import { Reloop } from "reloop-email";2
3const reloop = new Reloop({ apiKey: "rl_123456789" });4
5const { response, emailError } = await reloop.mail.send({6 from: "Reloop <hello@send.example.com>",7 to: "user@example.com",8 subject: "Welcome to Reloop",9 html: "<p>Thanks for signing up.</p>",10 text: "Thanks for signing up.",11 reply_to: "support@example.com",12 tags: [{ name: "campaign", value: "welcome" }],13});14if (emailError) throw emailError;1{2 "success": true,3 "messageId": "example_messageId",4 "status": "example_status",5 "timestamp": "example_timestamp",6 "id": "con_123456789"7}Body Parameters
Sender email address
Recipient email address(es) (max 50)
Example: ["value1", "value2"]
Email subject
- Minimum length:
1 - Maximum length:
255
CC email address(es) (max 50)
Example: ["value1", "value2"]
BCC email address(es) (max 50)
Example: ["value1", "value2"]
Plain text content
HTML content
Reply-to email address
Example: ["value1", "value2"]
Schedule email to be sent later (ISO 8601)
Custom headers to add to the email
The channel ID to receive the email
Email attachments
Custom tags passed in key/value pairs
The name of the email tag.
- Maximum length:
256
The value of the email tag.
- Maximum length:
256
Email template to use
Template ID
Variables to replace in the template
Thread ID to link this email to an existing conversation thread
Was this page helpful?