Transactional application use cases
Send account notices, billing updates, receipts, password flows, CRM notifications, SaaS events, and other requested operational messages.
Email API
The EmailDesk email API gives applications in Bangladesh a structured server-to-server sending path without exposing a mailbox password. API credentials remain customer-scoped, sender identities and domain readiness are checked, and each request passes bounded input, quota, and outbound-protection controls before provider handoff.
Start your free trialWhat EmailDesk provides
Send account notices, billing updates, receipts, password flows, CRM notifications, SaaS events, and other requested operational messages.
Create a credential for WordPress, Laravel, SaaS, CRM, billing, or an application without sharing a mailbox login. Domain or exact-address restrictions narrow its sender scope.
The exact From address must be verified and permitted by the credential. The sender domain must satisfy the active gateway's SPF requirement and should publish aligned DKIM and DMARC.
One request supports up to 100 total To, Cc, and Bcc recipients and 10 Base64 attachments, limited to 10 MB each and 20 MB combined.
Quota is tied to submitted recipient and attachment units. A direct API resubmission is a new send, so applications should prevent duplicate retries with their own stable event or job record.
EmailDesk records the source, selected profile, validation and policy result, immediate provider response, quota use, and later outcome evidence when available.
How to begin
The integration begins with domain and sender readiness. A valid key cannot override an unverified sender, missing gateway authorization, request limit, quota decision, or outbound policy result.
Assign the sending domain, verify the exact From email, authorize the active gateway in SPF, and publish the applicable DKIM and DMARC records.
Generate a restricted credential, copy the one-time secret into a protected server-side environment, and never place it in browser code, source control, screenshots, or logs.
Post a small transactional JSON request with the verified From address, recipients, subject, and text or HTML body. Add Base64 attachments only when required.
Review the API response and Outbound History before retrying an uncertain result. Use a stable application event or job record to prevent duplicate direct API submissions.
Safe request example
This example uses reserved example domains and a placeholder credential. Replace them only inside a protected server environment after the sender is verified.
Keep the credential server-side. Do not paste a production key into public code, a browser request, a support message, source control, or analytics.curl --request POST 'https://app.emaildesk.bd/api/v1/send' \
--header 'Authorization: Bearer YOUR_EMAILDESK_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"fromEmail": "notifications@example.com",
"to": ["customer@example.net"],
"subject": "Your account update",
"body": "Your requested account update is ready."
}'Operational evidence
An API integration should make failures easier to diagnose. EmailDesk separates request validation, sender readiness, protection and quota decisions, provider handoff, and later recipient evidence. Provider acceptance is not a guarantee of final inbox delivery.
Frequently asked questions
Typical uses include SaaS account events, CRM notifications, billing notices, receipts, password flows, WordPress and Laravel messages, and other requested operational application email. The acceptable-use policy and outbound-protection checks still apply.
No. The sender must be verified for the customer and allowed by the API credential. The domain must also satisfy the active gateway's authentication requirements.
A request can contain up to 100 total To, Cc, and Bcc recipients and 10 attachments. Each decoded attachment can be up to 10 MB, combined attachments can be up to 20 MB, and the complete HTTP request can be up to 30 MB.
Do not blindly resubmit after an uncertain response. Record a stable event or job ID in the application, check the API response and Outbound History, and submit again only when the application has determined that a new send is required. A direct API resubmission is treated as a new send and quota event.
No. An accepted or queued provider response records the handoff at that stage. Recipient filtering, rejection, delay, or a later bounce can still change the outcome.
Store it only in a protected server-side secret or environment setting. Do not expose it in browser JavaScript, mobile application code, source control, screenshots, support messages, or analytics.
Free guided trial
Submit a short trial request. No package choice, card, or online payment is required before the request is reviewed.