Scheduling
Set scheduledAt to an ISO-8601 timestamp on POST /emails. The message stays scheduled until the worker delivers it (durable BullMQ queue when REDIS_URL is set, in-process timer otherwise).
await evre.emails.send({
from: "evre <hi@mail.evre.email>",
to: "user@example.com",
subject: "Later",
text: "hi",
scheduledAt: new Date(Date.now() + 60 * 60 * 1000).toISOString(),
});
Cancel
POST /emails/{id}/cancel — only while status is scheduled.
await evre.emails.cancel(id);