npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@talocode/maillane

v0.1.1

Published

Gmail OAuth email API — send transactional emails from any hosting, no SMTP ports needed. CLI, SDK, MCP server, and REST API included.

Readme

@talocode/maillane

Gmail OAuth email API — send transactional emails from any hosting, no SMTP ports needed.

npm License: MIT

Why MailLane?

Free hosting providers (Railway, Render, Vercel) block SMTP ports 25, 465, 587. Your email libraries fail. Services like Resend require custom domain setup first.

MailLane solves this with Gmail OAuth. Connect your Gmail account with one click, get a REST API to send emails. No SMTP ports. No custom domain. Works from any hosting.

Install

npm install -g @talocode/maillane

Quick Start

CLI

# Connect your Gmail account
maillane auth

# Send an email
maillane send --to [email protected] --subject "Hello" --text "Test email"

# Check stats
maillane stats

# List accounts
maillane accounts

Node.js SDK

import { MailLaneClient } from '@talocode/maillane';

const client = new MailLaneClient({ apiKey: 'your-api-key' });

// Send an email
await client.sendEmail({
  to: ['[email protected]'],
  subject: 'Hello from MailLane',
  text: 'This email was sent via MailLane!'
});

// Send HTML email
await client.sendEmail({
  to: ['[email protected]'],
  subject: 'Welcome!',
  html: '<h1>Welcome!</h1><p>Your account is ready.</p>'
});

// List accounts
const accounts = await client.listAccounts();

// Get stats
const stats = await client.getStats();

CLI Commands

| Command | Description | |---------|-------------| | maillane auth | Connect a Gmail account via OAuth | | maillane accounts | List connected Gmail accounts | | maillane send | Send an email | | maillane stats | Show account sending stats | | maillane remove | Remove a connected account | | maillane mcp | Start MCP server for AI agents |

MCP Server

MailLane includes an MCP server for AI agents:

maillane mcp

MCP Tools

  • send_email - Send an email via Gmail OAuth
  • list_accounts - List connected Gmail accounts
  • get_stats - Get sending stats for an account

API

MailLane provides a REST API. All requests require a TALOCODE_API_KEY.

curl -X POST https://api.talocode.site/v1/maillane/send \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to": ["[email protected]"], "subject": "Hello", "text": "Test"}'

Pricing

MailLane uses credit-based pricing through Talocode Cloud.

| Action | Credits | |--------|---------| | Send text email | 2 | | Send HTML email | 3 | | Send with attachment | 5 | | Connect account | Free | | List accounts | Free | | Get stats | Free |

1 credit = $0.01 USD. New projects get 100 free credits.

Related Packages

Links

  • GitHub: https://github.com/talocode/maillane
  • PyPI: https://pypi.org/project/talocode-maillane/
  • YouTube Tutorial: https://www.youtube.com/watch?v=eh7qa6XdNw4
  • Talocode: https://talocode.site

License

MIT © Talocode