implement email method and begin to implement sendgrid