Adding SendGrid as an SMTP relay for ssmtp is easy. Edit /etc/ssmtp/ssmtp.conf and add the following:
_10mailhub=smtp.sendgrid.net:587_10AuthUser=apikey_10AuthPass=sendgridapikey_10UseSTARTTLS=YES
Your changes will come into effect as soon as the next message is sent via ssmtp