added SENDGRID
fixed type