curl --request POST \
--url https://api.amisend.com/emails \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from": "noreply@example.com",
"to": [
"user1@example.com",
"user2@example.com"
],
"subject": "Welcome!",
"html": "<h1>Hello</h1>",
"scheduledAt": "2025-06-17T12:00:00Z",
"reply_to": "support@example.com",
"attachments": [
{}
]
}
'