MailingCore gives you a tiny JS SDK, a visual template editor, and reliable delivery. Ship contact forms, transactional emails, and notifications in minutes.
import MailingCore from 'mailingcore-js';
await MailingCore.send({
apiKey: 'mc_live_xxxx',
template: 'contact-form',
to: 'user@example.com',
vars: {
name: 'Alex',
message: 'Hello from the frontend!'
}
});
// ✓ Email delivered in 180ms
Three steps to sending emails from your frontend
Design your email in the visual editor, add {{variables}} for dynamic content
Copy your key from the dashboard in seconds
Frontend, Webflow, no-code tools, anywhere with JS
Built for developers who want to ship fast
3KB gzipped. Works in vanilla JS, React, Vue, Svelte, Webflow
Design once, reuse everywhere. Variables with {{mustache}} syntax
Use your own SMTP, SendGrid, Resend, or our built-in relay
Data processed and stored in Europe. No data sold, ever
Real-time log of every send, with status and metadata
Get notified on delivery, open, bounce events
See the difference MailingCore makes
// server.js (Express backend required)
const express = require('express');
const nodemailer = require('nodemailer');
const app = express();
const transporter = nodemailer.createTransport({
host: process.env.SMTP_HOST,
port: process.env.SMTP_PORT,
auth: {
user: process.env.SMTP_USER,
pass: process.env.SMTP_PASS
}
});
app.post('/send-email', async (req, res) => {
try {
await transporter.sendMail({
from: 'noreply@example.com',
to: req.body.to,
subject: 'Contact Form',
html: \`<h1>Hello \${req.body.name}</h1>...\`
});
res.json({ success: true });
} catch (error) {
res.status(500).json({ error: error.message });
}
});
app.listen(3000);
// Plus: .env file, CORS setup, error handling...
// frontend.js (no backend needed)
import MailingCore from 'mailingcore-js';
await MailingCore.send({
apiKey: 'mc_live_xxxx',
template: 'contact-form',
to: 'user@example.com',
vars: { name: 'Alex', message: 'Hello!' }
});
// Done. That's it.
Start free, scale as you grow
Need more? Enterprise plans available — contact us
Start for free. No credit card. No backend.
Get your API key →