await step.email('email', async () => { return { subject: 'You received a message', body: 'A new post has been created', };});
Steps
Email Channel Step
Copy
Ask AI
await step.email('email', async () => { return { subject: 'You received a message', body: 'A new post has been created', };});
The email step allows you to send an email to a user. This is useful when you need to send an email to a user, such as a welcome email, password reset email, or any other email you need to send.
Copy
Ask AI
await step.email('email', async () => { return { subject: 'You received a message', body: 'A new post has been created', };});