working on a sendgrid module