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 email@example.com and firstname.lastname@example.org
If you are self-hosted in Google Cloud, then you should follow this article for SMTP setup.