await step.email('email', async () => {
    return {
        subject: 'You received a message',
        body: 'A new post has been created',
    };
});
await step.email('email', async () => {
    return {
        subject: 'You received a message',
        body: 'A new post has been created',
    };
});

Email Step Output

subject
string
required

The title or subject email

body
string
required

The HTML body of the email

Email Step Result