Reference

Exports

Public package entrypoints and what each one is for.

Import the channel sender and one transport subpath for the smallest install surface. The main sently package is for shared types and factories — not every provider.

The one rule

Prefer sently/mailer + sently/transports/<provider> (or the matching SMS / WhatsApp / push entrypoints) over pulling providers from the main barrel.

Channel and core

ImportPrimary API
sentlycreateMailer, createSMTPMailer, types, OAuth2, SentlyError, consoleObserver, toChannelSendResult, FallbackTransport, WeightedFallbackTransport, CloudflareEmailTransport
sently/mailercreateMailer only
sently/smtpcreateSMTPMailer
sently/smscreateSmsSender
sently/whatsappcreateWhatsAppSender
sently/pushcreatePushSender
sently/channel-resulttoChannelSendResult, ChannelSendResult
sently/errorsSentlyError hierarchy
sently/idempotencyIdempotencyTransport
sently/dkimDKIM signing
sently/reactreactPlugin
sently/plugins/templatetemplate plugin
sently/auth/oauth2OAuth2Client
sently/poolSMTPPool
sently/observabilityconsoleObserver

Transports

ImportUse
sently/transports/<name>One provider or decorator (e.g. sndr, unifonic, fcm, retry)

HTTP providers such as SNDR, Resend, and Plunk are not re-exported from sently.

Webhooks

ImportUse
sently/webhooks/<provider>One parser (+ verify helper when exported)
sently/webhooksConvenience barrel of all named helpers

Email: brevo, mailgun, postmark, resend, sendgrid, ses, sndr. SMS / WhatsApp: twilio-sms (+ verify), unifonic, whatsapp-cloud (+ verify).

Adapters

ImportUse
sently/adapters/nodeNode TCP/TLS
sently/adapters/bunBun TCP/TLS
sently/adapters/denoDeno TCP/TLS
sently/adapters/cfCloudflare cloudflare:sockets

Troubleshooting

Learn more

Next

On this page