FREE API
Free Email API for Web3 ProjectsNo setup fees β€’ No monthly charges β€’ Reach users via their free email addresses
Get API Access
FREE APIFor Web3 Projects - Free Email Integration

Email API for Web3 Projects

Reach your users directly through their wallet email addresses. Automate notifications from smart contracts. Keep communications private with the MailBox protocol.

Free Plan
No Setup Fees
Enterprise Support
Free Smart Contract Integration
// Send email from your smart contract
import { MailerClient } from '@sudobility/contracts';
import { ethers } from 'ethers';

const mailer = new MailerClient(mailerAddress, signer);

// Send notification to user
await mailer.sendPriority(
  userWalletAddress,
  'Reward Claimed!',
  `You received ${rewardAmount} tokens!`
);

Why Web3 Projects Choose MailBox

Traditional communication methods fall short in Web3. MailBox provides the missing infrastructure for direct, private, and automated user engagement.

Direct User Engagement

Connect with your users through their wallet email addresses for marketing campaigns, product announcements, and community updates. Reach them where they actually check messages.

Higher open rates
Verified recipients
No spam filters
Learn More
Marketing Campaign
// Marketing campaign to wallet holders
const campaign = await mailbox.createCampaign({
  name: 'Token Launch Announcement',
  template: 'product-launch',
  targetAudience: 'token-holders',
});

const recipients = await getTokenHolders(contractAddress, {
  minBalance: '1000',
});

await campaign.send({
  to: recipients,
  subject: 'πŸš€ New Token Launch!',
  data: {
    tokenName: 'AWESOME',
    launchDate: '2024-09-01',
    bonusPercent: 15,
  },
});

// Expected: 10,000+ verified recipients
// Open rate: 85% (vs 20% traditional email)

Smart Contract Integration

Automatically trigger email notifications directly from your smart contracts using the MailBox protocol. Send transaction confirmations, stake rewards, or governance notifications seamlessly.

Automated workflows
Real-time notifications
No backend required
Learn More
Smart Contract
// Solidity smart contract integration
pragma solidity ^0.8.24;

import "@sudobility/contracts/interfaces/IMailer.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract RewardDistributor {
    IMailer public immutable mailer;
    IERC20 public immutable usdc;
    IERC20 public immutable rewardToken;
    
    constructor(
        address _mailer,
        address _usdc,
        address _rewardToken
    ) {
        mailer = IMailer(_mailer);
        usdc = IERC20(_usdc);
        rewardToken = IERC20(_rewardToken);
    }
    
    function distributeReward(
        address recipient,
        uint256 amount
    ) external {
        // Transfer reward tokens
        rewardToken.transfer(recipient, amount);
        
        // Approve USDC for email fee
        usdc.approve(address(mailer), 100000);
        
        // Send notification email
        mailer.sendPriorityPrepared(
            recipient,
            "reward-claimed-v1"
        );
        
        emit RewardClaimed(recipient, amount);
    }
}

Private Communication

Keep sensitive communications off-chain and private. Unlike public blockchain messages, emails are only visible to the intended recipients, perfect for confidential business communications.

Complete privacy
No public exposure
Business-grade security
Learn More
Private Messages
// Private business communications
const privateChannel = mailbox.createPrivateChannel({
  participants: [
    '0x1234...5678', // CEO wallet
    '0xabcd...efgh', // CTO wallet
    '0x9876...5432', // Legal team
  ],
  encryption: 'end-to-end',
  retention: '30-days',
});

await privateChannel.sendMessage({
  subject: 'Q4 Strategic Planning',
  body: `Confidential: Partnership proposal
  with major DeFi protocol. Terms:
  - $10M strategic investment
  - Technical integration timeline
  - Regulatory compliance review`,

  attachments: ['term-sheet.pdf', 'technical-specs.pdf'],
  priority: 'high',
});

Perfect for Any Web3 Project

From DeFi protocols to NFT marketplaces, MailBox helps projects across the Web3 ecosystem engage their users more effectively.

DeFi Protocols

Notify users about liquidation risks, reward distributions, governance votes, and protocol updates.

NFT Marketplaces

Send purchase confirmations, bid notifications, and exclusive drop announcements to collectors.

DAOs

Distribute governance proposals, voting reminders, and member communications privately and effectively.

Gaming Projects

Deliver quest rewards, tournament updates, and in-game notifications to enhance player engagement.

Start Integrating in Minutes

Simple 3-step integration process to get your project communicating with users via email

1

Install SDK

Add the MailBox SDK to your project with a simple npm install command.

2

Configure API

Set up your project credentials and configure the email templates you want to use.

3

Send Emails

Start sending emails from your smart contracts or backend with just a few lines of code.

Technical Features

⚑

Lightning Fast

Sub-second email delivery

πŸ”’

Secure

End-to-end encryption

πŸ“Š

Analytics

Detailed delivery metrics

πŸ”„

Multi-Chain

Works across all blockchains

πŸ“§

Templates

Rich HTML email templates

🎯

Targeting

Segment by wallet activity

Why Choose MailBox Over Alternatives?

FeatureMailBoxOn-Chain MessagesTraditional EmailDiscord/Telegram
Privacyβœ•~
Smart Contract Integrationβœ•βœ•
Gas CostsFreeHighFreeFree
Rich Contentβœ•~
Direct to Walletβœ•βœ•

Ready to Engage Your Web3 Users?

Join leading Web3 projects using MailBox to communicate directly with their communities through secure, private email.

πŸš€Performance Monitor

Web Vitals

LCPLargest Contentful Paint
7896ms
FIDFirst Input Delay
N/Ams
CLSCumulative Layout Shift
0.036
FCPFirst Contentful Paint
6140ms
TTFBTime to First Byte
65ms

Bundle Performance

JS Load
43014ms
CSS Load
1283ms
JS Files
165
Transfer Size
22.9MB

API Calls

Count
2
Total Time
622ms
Avg Time
311ms
Slowest
314ms

Memory

Used Heap
73.1MB
Total Heap
82.4MB
Usage
2%
GoodNeeds ImprovementPoor