Format emails with HTML or Markdown
developMailmerge supports multiple content types by specifying the Content-Type header.
HTML Only
Add Content-Type: text/html under the headers and wrap your body in <html> tags.
HTML and Plain Text (Multipart)
To provide both, use Content-Type: multipart/alternative; boundary="boundary" and define the parts separated by --boundary.
Markdown
Add Content-Type: text/markdown. Mailmerge will automatically render the Markdown to HTML and include both HTML and plain text versions in a multipart message.