Hello, in dev this works fine, it is making its way through the code without any errors and also console.log the time it takes for allt he operations, they are about 50 ms in total,
later in the code I am awaiting an email to send but for some reason it just doesn't seem to be sending the email or taking really long time, here is what that code looks like:
await resend.emails.send({
from: "Freshburst UF <[email protected]>",
to: [order?.epostaddress],
subject: "Freshburst UF - Orderbekräftelse",
react: EmailTemplate({
fornamn: order.fornamn,
products: order.products,
total: order.total,
}),
} as any);
Does anyone know how this is possible to take this long, I haven't had this issue before with resend