Skip to content

autosendhq/skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoSend Skill

Email API integration skill for AI coding agents. Send transactional emails, manage contacts, and use templates through the REST API or TypeScript SDK.

Prerequisites

  • An AutoSend account with a verified sending domain
  • An API key (Settings > API Keys > Generate API Key)
  • Environment variable set: export AUTOSEND_API_KEY=as_your_key_here

Installation

npx skills add autosendhq/skills

Quick Start

npm install autosendjs
import { Autosend } from 'autosendjs';

const autosend = new Autosend(process.env.AUTOSEND_API_KEY);

await autosend.emails.send({
  from: { email: 'hello@yourdomain.com', name: 'Your Company' },
  to: { email: 'user@example.com', name: 'Test User' },
  subject: 'Hello from AutoSend!',
  html: '<h1>It works!</h1><p>Your AutoSend integration is ready.</p>',
});

Features

  • Single email — Send transactional emails with HTML and plain text support
  • Bulk send — Send to multiple recipients with shared sender, subject, and optional per-recipient dynamic data
  • Templates — Use pre-built templates with dynamic data (order confirmations, welcome emails, password resets, etc.)
  • Contact management — Create, get, upsert, and delete contacts with custom fields and list assignments
  • TypeScript support — Full type definitions for all SDK methods and options
  • Error handling — Structured error codes (UNAUTHORIZED, RATE_LIMIT_EXCEEDED, VALIDATION_FAILED) for reliable integrations
  • Configurable SDK — Custom timeouts, retries, debug logging, and base URL options

Documentation

  • SKILL.md — REST API endpoints, parameter tables, and response formats
  • SDK Guide — TypeScript SDK examples for all features
  • API Guide — AutoSend API overview and concepts
  • API Reference — Official AutoSend API reference

License

MIT

About

Agent skill for sending transactional emails, managing contacts, and using templates via the Autosend API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors