Operations (sample payloads)

Main operations
Copy

Send email
Copy

Send an email to any address, for notifications or similar.

Sample Input

1
{
2
"to": [
3
{
4
"email": "john.doe@example.com",
5
"name": "John Doe"
6
},
7
{
8
"email": "jane.smith@example.com",
9
"name": "Jane Smith"
10
}
11
],
12
"subject": "Important Meeting Reminder",
13
"content": "<html><body><h1>Meeting Reminder</h1><p>Dear team,</p><p>This is a reminder that we have an important meeting scheduled for tomorrow at 2 PM. Please be prepared to discuss the quarterly results.</p><p>Best regards,<br>Your Manager</p></body></html>",
14
"attachments": [
15
{
16
"filename": "quarterly_report.pdf",
17
"content": "base64encodedcontent..."
18
}
19
],
20
"reply_to": {
21
"email": "manager@company.com",
22
"name": "Team Manager"
23
},
24
"cc": [
25
{
26
"email": "hr@company.com",
27
"name": "HR Department"
28
}
29
],
30
"bcc": [
31
{
32
"email": "ceo@company.com",
33
"name": "CEO"
34
}
35
],
36
"tls": true
37
}

Sample Output

1
{
2
"success": true,
3
"warning": null
4
}