title: cakephp 3.2 email with sendgrid issue
body: <p>I'm having a hard time trying to figure out how to send mails with sendgrid.</p>
  
  <p>this is the code i currently have:</p>
  
  <p>employees controller:</p>
  
  <pre><code>function _sendEmail($id) {
      $email = new Email();
          try {
              $email-&gt;from(['coms@me.co' =&gt; 'Me'])
                  -&gt;profile('SendGrid')
                  -&gt;to([$id['email'] =&gt; $id['full_name']])
                  -&gt;subject("TEST SUBJECT")
                  -&gt;emailFormat("both")
                  -&gt;template('default')
                  -&gt;send('My message');
              $this-&gt;Flash-&gt;success("Message sent.");
          } catch (Exception $ex) {
              echo 'Exception : ', $ex-&gt;getMessage(), "\n";
          }                              
          return $this-&gt;redirect(['action' =&gt; 'index']);
  }
  </code></pre>
  
  <p>I'm working with this plugin I found a few days ago; <a href="https://github.com/Iandenh/cakephp-sendgrid" rel="nofollow">https://github.com/Iandenh/cakephp-sendgrid</a>... I configured everything as stated in the docs but when I want to send the mail, nothing happens, the function flashes the success message and makes the redirection, but no email is sent.</p>
  
  <p>This is the email transport in the app.php</p>
  
  <pre><code>'EmailTransport' =&gt; [
      'SendGridEmail' =&gt; [
          'className' =&gt; 'SendGridEmail.SendGrid',
          'api_key' =&gt; 'API_KEY'
      ],
  </code></pre>
  
  <p>and the delivery profile</p>
  
  <pre><code>'Email' =&gt; [
      'SendGrid' =&gt; [
          'transport' =&gt; 'SendGridEmail',
          'template' =&gt; 'default',
          'layout' =&gt; 'default',
          'emailFormat' =&gt; 'both',
          'from' =&gt; ['coms@me.co' =&gt; 'Me'],
          'sender' =&gt; ['coms@me.co' =&gt; 'Me'],
      ]
  ]
  </code></pre>
  
  <p>I'd really appreciate if someone can point me out any mistake or a possible solution for my problem.</p>