MenuQueries LibrarySend an email using MarkdownSend an email using MarkdownThis 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** 🙏 Thanks! """ ) @export(as: "emailMessage") } mutation SendEmailWithMarkdown @depends(on: "GetEmailData") { _sendEmail( input: { to: "target@email.com" subject: "Great news!" messageAs: { html: $emailMessage } } ) { status errors { __typename ...on ErrorPayload { message } } } }CopyPrevSend an email to the admin notifying of a new postNextSend an email with dynamic data
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** 🙏 Thanks! """ ) @export(as: "emailMessage") } mutation SendEmailWithMarkdown @depends(on: "GetEmailData") { _sendEmail( input: { to: "target@email.com" subject: "Great news!" messageAs: { html: $emailMessage } } ) { status errors { __typename ...on ErrorPayload { message } } } }Copy