📧

WeafMail Corporate Mail SaaS API

A high-performance REST API for secure multi-account email aggregation, real-time mail synchronization, and corporate team communications.

📋

API Overview

The WeafMail Corporate Mail SaaS API provides a comprehensive, isolated solution for companies to aggregate, sync, and manage multiple mail servers (SMTP, IMAP, POP3) under a single platform. The system follows a secure multi-tenant structure: Super Admin → Company/Tenant → Team Members → Connected Mail Accounts.

Base URL: https://weafmailapi.weafcompany.com/api
Authentication: Bearer Token (Laravel Sanctum)
Response Format: JSON
API Version: 1.0
⚙️

Core API Modules

Mail Sync & Aggregation
Dynamic connection to IMAP/SMTP profiles, handling in-memory synchronizations, folders mapping, read/unread states, and attachment pre-rendering.
Team Collaboration
Admin dashboard for managing team members, issuing invitation tokens, setting granular read/write privileges, and tracking activity logs.
Address Book & Contacts
Shared company-wide directory lists and individual personal contact lists with optimized partial-match search support.
Template Signatures
Manage rich HTML signatures with media asset uploading, mapping default profiles to specific corporate email addresses.