Sendexa LogoDocs

Bulk Email

Send high-volume email campaigns with comprehensive validation, variable substitution, and detailed engagement reports.

High-Volume Processing

Send up to 50,000 emails per request with automatic queue management

Smart Delivery

Automatic bounce handling and feedback loops for better deliverability

Detailed Analytics

Comprehensive reporting on opens, clicks, and bounce rates

Domain Protection

Throttling built-in to prevent domain blacklisting

50,000

Maximum emails per request

50 MB

Maximum request size

20

Maximum concurrent bulk jobs

7d

Job retention period

POST
/v1/email/bulk
Bulk
Async

Bulk Upload Methods

JSON
{
"campaignName": "Newsletter Q1",
"from": "[email protected]",
"subject": "Your Q1 Update is Here!",
"templateId": "tpl_12345",
"messages": [
{
"variables": { "name": "John", "plan": "Premium" }
},
{
"variables": { "name": "Sarah", "plan": "Free" }
}
],
"options": {
"scheduledFor": "2024-01-16T09:00:00Z",
"webhookUrl": "https://api.myapp.com/webhooks/bulk-status"
}
}

Request Schema

TypeScript
interface BulkEmailRequest {
/** Campaign name for reporting */
campaignName?: string;
/** Default sender email */
from: string;
/** Default subject line */
subject?: string;
/** Global template ID */
templateId?: string;
/** Array of messages (max 50,000) */
messages: Array<{
to: string; // Recipient email
subject?: string; // Override subject
html?: string; // HTML content (if not using template)
variables?: Record<string, any>; // Template variables
}>;
/** Processing options */
options?: {
scheduledFor?: string; // ISO 8601 timestamp
webhookUrl?: string; // Status updates webhook
};
}

Processing Pipeline

1

Validation

Checking email addresses and domains

~2s per 1000
2

Credit Check

Verifying sufficient balance

<1s
3

Rendering

Compiling HTML and variables

~5s per 1000
4

Processing

Queuing and sending to ISPs

~10s per 1000
5

Reporting

Generating delivery summary

~2s

Response

JSON
{
"success": true,
"message": "Bulk job accepted for processing",
"data": {
"jobId": "bulk_eml_123456789",
"status": "processing",
"totalMessages": 50000,
"progress": 0
}
}
Throughput

5,000/second

Messages per second

Avg Latency

2.1s

End-to-end delivery

Success Rate

99.2%

Last 24 hours

Queue Length

420

Pending messages