updated changed api-calls for sendgrid