fetch, FormData and Blob.
npm package
wazobiamail — version 0.1.0Source
WazobiaMail/wazobiamail-node
At a glance
Install
Configure
The key can be passed directly or read fromWAZOBIA_API_KEY / WAZOBIAMAIL_API_KEY.
Send your first email
What you can do
- Send transactional email with HTML, text, CC/BCC, reply-to and idempotency keys.
- Upload attachments or send inline files through the multipart endpoint.
- Create and verify sending domains, read DNS records and drive Cloudflare DNS.
- Provision hosted mailboxes, credentials and enterprise headless inboxes.
- Run spam/deliverability checks and read tracking events.
- Manage sending API keys, SMTP relays, billing invoices, plans, credits and support tickets.
Framework notes
The core SDK has no Node-only production dependencies, so it runs on edge runtimes. In browser code, never expose an API key — proxy requests through your server. For framework helpers, usewazobiamail-vue or wazobiamail-nuxt instead of wiring composables yourself.
Errors and retries
The client throws typed errors:WazobiaAuthenticationError, WazobiaForbiddenError, WazobiaNotFoundError, WazobiaValidationError, WazobiaRateLimitError, WazobiaTimeoutError and generic WazobiaApiError.
idempotencyKey when retrying.
