title: action button and php - doesn' show in the inbox
body: <p>i'm using phpmailer to send email to me and i even use DKIM with my
  google apps account, even the docs says:</p>
  
  <blockquote>
    <p>You can easily test if your markup is working
    correctly end-to-end by sending emails with schemas to your Gmail
    account. All emails where the sender and the recipient are the same
    account ignore the registration requirements and can be used for
    self-testing.</p>
  </blockquote>
  
  <p>I tryed to send to me, send to another gmail account and nothing.
  used the example here: <a href="https://developers.google.com/gmail/actions/apps-script-tutorial" rel="nofollow">https://developers.google.com/gmail/actions/apps-script-tutorial</a>
  and worked great, try to use it in my code and nothing.
  is there any restriction using localhost even phpmailer is set to google server: smtp.gmail.com ?</p>
  
  <p>i'm using this code:</p>
  
  <pre><code>&lt;?php
  require_once('phpmailer/class.phpmailer.php');
  
  $content =
  '
  &lt;html&gt;
    &lt;head&gt;
  &lt;script type="application/ld+json"&gt;
  {
    "@context": "http://schema.org",
    "@type": "EmailMessage",
    "action": {
      "@type": "ConfirmAction",
      "name": "Approve Expense",
      "handler": {
        "@type": "HttpActionHandler",
        "url": "https://myexpenses.com/approve?expenseId=abc123"
      }
    },
    "description": "Approval request for Johns $10.13 expense for office supplies"
  }
  &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;p&gt;
        This a test for a Go-To action in Gmail.
      &lt;/p&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  ';
  
  echo mailer("mymail","mymail","My Name","test action", $content);
  
  
  function mailer($to, $from, $from_name, $subject, $body) { 
      $mail = new PHPMailer();  // create a new object
      //$mail-&gt;CharSet = "UTF-8";
      $mail-&gt;IsSMTP(); // enable SMTP
      $mail-&gt;SMTPAuth = true;  // authentication enabled
      $mail-&gt;Host = 'smtp.gmail.com';
      $mail-&gt;Username = 'mymail';  
      $mail-&gt;Password = 'pass';       
      $mail-&gt;SetFrom($from, $from_name);
      $mail-&gt;Subject = $subject;
      $mail-&gt;Body = $body;
      $mail-&gt;isHTML(true); 
      $mail-&gt;SMTPSecure = 'tls'; 
      $mail-&gt;AddAddress($to);
      if(!$mail-&gt;Send()) {
          return $mail-&gt;ErrorInfo;
      } else {
          return true;
      }
  }
  </code></pre>