SendGrid
SendGrid tasks
Tasks are executed after the job is triggered and are the main building blocks of a job. You can string together as many tasks as you want.
All tasks
sendEmail
Send an email with a body. Official SendGrid Docs
example.ts
Example usage
In this example, we will send weekly summary emails to users who have summariesEnabled = true
, at 4pm every Friday, and then posts the total numbers to Slack.
example.ts
Was this page helpful?