test sendgrid cfg, add email api