mailstrel
v1.0.0
Published
Mailstrel SDK — thin typed client for the Mailstrel cold-outreach API. Discover leads, launch campaigns, read replies from your own app.
Maintainers
Readme
mailstrel
Thin TypeScript client for the Mailstrel cold-outreach API. Mint an API key from Settings > API keys in your dashboard, then call the API from your own product or scripts.
npm install mailstrelimport { Mailstrel } from 'mailstrel'
const ms = new Mailstrel({ apiKey: process.env.MAILSTREL_API_KEY! })
const clients = await ms.clients.list()
const run = await ms.leads.discover(clients[0].id, { niche: 'fintech ops leads' })
const campaign = await ms.campaigns.create({ client_id: clients[0].id, name: 'Q3 outbound' })
await ms.campaigns.launch(campaign.id)Every named method (clients, leads, campaigns, inbox) is a thin wrapper — the full API surface is reachable directly:
await ms.get('/deliverability')
await ms.post('/senders/lookalike', { domain: 'example.co' })Errors throw MailstrelError with the server's error message and the HTTP status.
Full endpoint reference: mailstrel.com/docs.
