Added support for local environmental variables (SendGrid)