Queries Library
Queries LibrarySend an email using Markdown

Send an email using Markdown

This query uses Markdown (which is converted to HTML) to compose the email.

query GetEmailData {
  emailMessage: _strConvertMarkdownToHTML(
    text: """
We have great news: **Version 1.0 of our plugin will be released soon!**
If you'd like to help us beta test it, please **please reply to this email by 30th June** 🙏
    @export(as: "emailMessage")
mutation SendEmailWithMarkdown @depends(on: "GetEmailData") {
    input: {
      to: "target@email.com"
      subject: "Great news!"
      messageAs: {
        html: $emailMessage
  ) {
    errors {
      ...on ErrorPayload {