Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@agentuity/email

Package Overview
Dependencies
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentuity/email

latest
npmnpm
Version
2.0.22
Version published
Maintainers
3
Created
Source

@agentuity/email

A standalone package for the Agentuity Email service.

Installation

npm install @agentuity/email

Quick Start

import { EmailClient } from '@agentuity/email';

const client = new EmailClient();

// Create an email address
const addr = await client.createAddress('support');
console.log('Created:', addr.email); // support@agentuity.email

// Send an email
const result = await client.send({
  from: addr.email,
  to: ['user@example.com'],
  subject: 'Welcome!',
  text: 'Welcome to our platform.',
  html: '<h1>Welcome!</h1><p>Welcome to our platform.</p>'
});

// List inbound emails
const inbound = await client.listInbound(addr.id);
for (const msg of inbound) {
  console.log(`From: ${msg.from}, Subject: ${msg.subject}`);
}

Configuration

const client = new EmailClient({
  apiKey: 'your-api-key',
  url: 'https://api.agentuity.com',
});

Environment Variables

VariableDescriptionDefault
AGENTUITY_SDK_KEYAPI key for authenticationRequired
AGENTUITY_REGIONRegion for API endpointsusc
AGENTUITY_EMAIL_URLOverride Email API URLAuto-detected

License

Apache-2.0

FAQs

Package last updated on 27 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts