Мне помогло не экспортировать хтмл файл, а напарямую присвоить содержание файла mail_template.html переменной htmlBody:
/**
 * Tests the schema.
 */
function testSchemas() {
  var htmlBody = '<html>
  <head>
    <script type="application/ld+json">
    {
      "@context":       "http://schema.org",
      "@type":          "EmailMessage",
      "description":    "Check this out",
      "potentialAction": {
        "@type": "ViewAction",
        "target":   "https://www.youtube.com/watch?v=eH8KwfdkSqU"
      }
    }
    </script>
  </head>
  <body>
    <p>
      This a test for a Go-To action in Gmail.
    </p>
  </body>
</html>'
  MailApp.sendEmail({
    to: Session.getActiveUser().getEmail(),
    subject: 'Test Email markup - ' + new Date(),
    htmlBody: htmlBody,
  });
}