adapt-authoring-mailer/lib/typedefs.js

/**
 * This file exists to define the below types for documentation purposes.
 */
/**
 * Data to be passed when sending a mail
 * @memberof mailer
 * @typedef {Object} MailData
 * @property {string} to Comma separated list or an array of recipients email addresses that will appear on the To: field
 * @property {string} from The sender email address
 * @property {string} subject The subject of the email
 * @property {string} text The plain text version of the message as an unicode string
 * @property {string} html The HTML version of the message as a unicode string
 */