sendgrid functional