Basic SendGrid support

* Added basic support for SendGrid communication (not complete
functionality)
* Improved header block
* Improved argument injection