Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Effect KitEmails

Entry points

Every import path of @effect-kit/emails and what each one exports.

@effect-kit/emails is ESM only and needs Node.js 24.22.0 or later. The root, testing and react entry points never import a provider. Each provider has its own subpath, so an SDK you do not use is never loaded.

@effect-kit/emails

GroupExports
ServiceEmail, and the types EmailService and EmailAdapter
BatchBatchOptions, EmailRequest, and the type SendOutcome
MessageEmailMessage, Address, Mailbox, Recipients, EmailAddress, Attachment, CustomHeaders, SendOptions, and the type NormalizedEmailMessage
CapabilitiesEmailCapabilities, Idempotency, RetryAfter
ReceiptsSendReceipt, SubmissionReference, RecipientOutcome, RecipientPosition, ProviderName, ProviderCode
ErrorsEmailError, EmailErrorReason, EmailFeature, BatchError, and the fourteen reasons: InvalidMessageError, UnsupportedFeatureError, AuthenticationError, PermissionDeniedError, RateLimitedError, QuotaExceededError, RecipientRejectedError, MessageRejectedError, IdempotencyConflictError, TransportError, TimeoutError, ProviderUnavailableError, UnexpectedResponseError, ProviderError

Email.sendMany and Email.make are static members of Email.

@effect-kit/emails/testing

EmailTest, and the types EmailTestOptions and EmailTestService. See Testing.

@effect-kit/emails/react

render, RenderError, RenderOptions, and the types HtmlContent, TextContent, HtmlAndTextContent and RenderedContent. Rendering needs @react-email/render, react and react-dom.

Provider subpaths

Every provider exports layer, layerClient and layerConfig, plus types for its options and client. The Layers are in Layers and environment variables.

SubpathAlso exports
@effect-kit/emails/resendResendConfigurationError, ResendConfig, ResendClient, ResendMessage, ClientOptions
@effect-kit/emails/nodemailerNodemailerConfigurationError, NodemailerConfig, NodemailerClient, NodemailerMessage, SmtpTransportConfig, ClientOptions
@effect-kit/emails/sesSesConfigurationError, SesConfig, SesClient, SesMessage, AwsCredentials, ClientOptions
@effect-kit/emails/azureAzureConfigurationError, AzureConfig, AzureClient, AzurePoller, AzureMessage, ClientOptions
@effect-kit/emails/postmarkProviderConfigurationError, PostmarkConfig, PostmarkClient, ClientOptions
@effect-kit/emails/sendgridProviderConfigurationError, SendGridConfig, SendGridClient, ClientOptions
@effect-kit/emails/mailgunProviderConfigurationError, MailgunConfig, MailgunClient, ClientOptions
@effect-kit/emails/mailersendProviderConfigurationError, MailerSendConfig, MailerSendClient, ClientOptions
@effect-kit/emails/brevoProviderConfigurationError, BrevoConfig, BrevoClient, ClientOptions
@effect-kit/emails/mailtrapProviderConfigurationError, MailtrapConfig, MailtrapClient, ClientOptions
@effect-kit/emails/scalewayProviderConfigurationError, ScalewayConfig, ScalewayClient, ClientOptions
@effect-kit/emails/lettermintProviderConfigurationError, LettermintConfig, LettermintClient, ClientOptions
@effect-kit/emails/eusendProviderConfigurationError, EusendConfig, EusendClient, ClientOptions
@effect-kit/emails/zeptomailProviderConfigurationError, ZeptoMailConfig, ZeptoMailClient, ClientOptions
@effect-kit/emails/mailchimp-transactionalProviderConfigurationError, MailchimpTransactionalConfig, MailchimpTransactionalClient, ClientOptions
@effect-kit/emails/plunkProviderConfigurationError, PlunkConfig, PlunkClient, ClientOptions

Importing a provider subpath without its SDK installed fails with ERR_MODULE_NOT_FOUND. The root and testing still import.