Added permission for SendGrid send function
Merge into master