Recipient
Info
This page was generated by extracting information from a JSON Schema data file for the API. It may be missing some information, or otherwise suggest approximate or placeholder values based on information in the schema file; this is due to limitations on how that data is extracted from the underlying Rust code and into the JSON Schema, and then again from there and into these docs.
This is an object value, with the following properties:
-
email- requiredstring(email). The email address of the recipient -
name- optional nullablestring. The optional displayable name of the recipient. This field will be set as thenamefield when processing template expansion. -
substitutions- optionalobject. When using templating, this is the map of placeholder name to replacement value that should be used by the templating engine when processing just this recipient.The following substitutions are pre-defined:
Name Value Version email Populated from the recipient emailfieldAlways name Populated from the recipient namefieldAlways to_header A suitable value for use in a To:header, constructed from the recipientemailandnamefields. eg:"John Smith" <john.smith@mailbox-example.com>(Since: Dev Builds Only)