updated sendgrid-api for deleting invalid emails