Sending custom plain-text emails

You can send pure plain-text emails via the Sidemail API. To send plain-text emails you'll need to specify the text parameter.

  • You can use all UTF-8 characters inside inside the text parameter.
  • Open tracking is not available for plain-text emails.

Example

const configureSidemail = require("sidemail");
const sidemail = configureSidemail({ apiKey: "replace-with-your-api-key" });
  
const response = await sidemail.sendEmail({
	toAddress: "user@example.com",
	fromAddress: "you@example.com",
	fromName: "Your app",
	subject: "Testing plain-text only custom emails :)",
	text: "Hello world! 🖐",
});