curl --request POST \
--url https://api.sendrealm.com/emails \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"from": "jsmith@example.com",
"to": [
"jsmith@example.com"
],
"subject": "<string>",
"text": "<string>",
"html": "<string>",
"tags": [
{
"name": "<string>",
"value": "<string>"
}
],
"headers": {},
"attachments": [
{
"name": "<string>",
"type": "<string>",
"data": "<string>"
}
]
}'