update inquiries and send email through sendgrid.