SpaceGiraffe/email

Utilities

Send emails! 📧

💡 Info

Version
Not specified
Homepage
Not specified
Documentation
Not specified
Repository
Not specified
Privacy policy
Not specified
Terms of service
Not specified

📜 Readme

Email API

Send emails using the 🌠SpaceGiraffe🦒 official email API!

Endpoints

There's only one endpoint!

email/send

POST https://utils.spacegiraffe.io/email/send

Payload:

{
  subject: <string>*,           // required email subject
  to: Array<string>,            // the email addresses to send the message to
  plainTextContent: <string>*,  // plain text content - required if htmlContent is missing
  htmlContent: <string>*,       // html content - required if plainTextContent is missing
  copyAddresses: Array<string>, // optional CC email addresses
  attachments: [{               // optional array of email attachments
    name: <string>,             // the attachment name
    base64Content: <string>     // the base64-encoded attachment file content
  }]
}

Response:

{
  succeeded: <boolean>, // indicates whether the email was sent successfully
  timestamp: <number>,  // UNIX timestamp in milliseconds
  message: <string>     // response message indicating success, or with error information if something went wrong
}

💳 Plans & pricing

Standard

01

Send emails! Free until you reach 1000 requests.

emailmailspacegiraffecommunicationsendgrid