Skip to main content
Documentation

Everything you need to get started

Comprehensive guides, tutorials, and API reference to help you build amazing email experiences.

Quick Example

import MailCraft from 'mailcraft';

const client = new MailCraft('mc_live_xxxxxxxxxx');

await client.emails.send({
  from: 'hello@company.com',
  to: 'user@example.com',
  subject: 'Welcome to MailCraft!',
  template: 'welcome-email',
  variables: {
    name: 'John',
    company: 'Acme Inc'
  }
});

Can't find what you're looking for?

Our support team is ready to help you with any questions.