View the original community article here
Last tested: Jan 2019
Make sure ports are opened. According to the outbound ports doc you should allow traffic to
smtp.sendgrid.net on port 587 and allowlist firstname.lastname@example.org and email@example.com
If you are self-hosted in Google Cloud, then you should follow this article for SMTP setup.