Email is deceptively hard: sending reliably, composing HTML that survives Outlook, and keeping a list free of typos and dead inboxes. MailKit turns all of it into a few clean calls.

Four packages

- @lacspace/mailer — send with one line; SMTP/providers and retries handled.
- @lacspace/email-templates — compose responsive HTML that renders everywhere.
- @lacspace/email-validate — syntax + MX checks to kill typos at signup.
- @lacspace/email-verify — confirm a real, deliverable inbox.
Send in one line
import { send } from '@lacspace/mailer';
await send({ to: user.email, subject: 'Welcome', html });
Keep your list clean
Validate at signup to catch gmial.com before it costs you a customer; verify periodically to prune dead addresses and protect your sender reputation. Both are one call.
Get started
Browse MailKit at lacspace.com/packages and read the API at lacspace.com/docs. It pairs naturally with the Security Kit for auth emails and the rest of the ecosystem.
Frequently asked questions
What is MailKit?
MailKit is Lacspace’s email suite for backends: @lacspace/mailer (send with one line), @lacspace/email-templates (compose responsive HTML), @lacspace/email-validate (syntax + MX checking) and @lacspace/email-verify (confirm a real inbox). Zero dependencies, isomorphic.
How do I send an email?
One line: `await send({ to, subject, html })` from @lacspace/mailer. It handles SMTP/providers and retries so a transient failure doesn’t drop the message.
How is validate different from verify?
Validate is a fast, offline-ish check — is the address well-formed and does the domain have MX records — great for catching typos at signup. Verify goes further to confirm the mailbox actually exists, so your list stays clean and your sender reputation stays high.
Can I build nice-looking emails?
Yes — @lacspace/email-templates composes responsive HTML email that renders across clients, so your welcome and transactional emails look intentional, not like plain text.








