fixed things
added SendGrid and emailing capability