Issue in sending email with Sendgrid


I have just set up Sendgrid in a canvas template (ver 3.6.2); everything seems regularly set up, but when I send an email I receive the following error:

Plugin action Send basic email error:
TypeError: Cannot read property ‘slice’ of null
at eval (eval at build_function (/var/task/index.js:72:21), :39:15)
at /var/task/index.js:335:23
at run_fn (/var/task/u.js:594:18)

Take in consideration that his happens only when I try to send a “basic email”, but it does not happen when sending a “custom email”.

Can you tell me why this happens?


I have also tried to create a new app with Airdev basic template, and the error remains.
The error remains also if I switch from Sendgrid to Postmark

Maybe is something related to the plugin…

Let me know


Hello @ambrosoli

Usually, errors with the plugin get sorted out by verifying the sender email on the Sendgrid dashboard. More info below: