Send email
Your VM can send plain-text emails.
Request
curl -X POST http://169.254.169.254/gateway/email/send \
-H "Content-Type: application/json" \
-d '{
"to": "odysseus@example.com",
"subject": "Build Complete",
"body": "Your build finished successfully!"
}'
Required fields: to, subject, body
Optional fields: reply_to, in_reply_to, references
Sending is rate-limited.
Allowed recipients
To prevent spam, to must be one of:
- you
- a member of your exe.dev team
- someone that has logged into your private-but-shared VM using exe.dev auth
Response
{"success": true}
or
{"error": "error message"}
