Email Settings & SMTP Notifications Module Documentation
π― User Roles & Key Capabilities
Section titled βπ― User Roles & Key Capabilitiesβ| Role | Primary Use Case | Key Capabilities |
|---|---|---|
| BSS Platform Administrator | Comprehensive telecom billing management. | Oversee real-time OCS charging, manage system settings, and configure administrative RBAC profiles. |
| Billing Operations Engineer | Daily rating and invoicing routines. | Monitor telecom nodes, verify payment gateway webhooks, and oversee customer account health. |
| System Security Officer | Regulatory auditability & access protection. | Configure perimeter firewall rules, inspect audit logs, and enforce multi-factor authentication. |
Table of Contents
Section titled βTable of Contentsβ- Module Overview (Technical)
- Module Overview (Commercial & Business Value)
- Visual Interface & Form Structure
- Architectural Flow & Purpose-Based Email Routing Engine
- Common Scenarios & Operational Playbooks
- Model Context Protocol (MCP) AI Integration
- Glossary
1. Module Overview (Technical)
Section titled β1. Module Overview (Technical)βThe Email Settings & SMTP Notifications module (SMTP relay configurations, email notification templates, and email logs store) serves as the institutional transactional messaging engine for Ring2All BSS. It orchestrates outgoing notification delivery across dedicated, specialized SMTP relays, custom HTML notification templates, and an exhaustive transmission audit log.
Purpose-Based SMTP Routing
Section titled βPurpose-Based SMTP RoutingβRather than routing all system traffic through a single generic mailbox, Ring2All BSS isolates email traffic into segregated sender reputations:
- Billing: Dispatches monthly commercial statements, PDF invoices, and invoice links.
- Payments: Delivers real-time credit card settlement receipts and wallet deposit confirmations.
- Dunning: Handles overdue notices, grace period expirations, and impending suspension warnings.
- Alerts: Dispatches high-priority engineering alerts (low carrier balance, toll fraud triggers).
2. Module Overview (Commercial & Business Value)
Section titled β2. Module Overview (Commercial & Business Value)β- Guaranteed Inbox Deliverability: Segregating marketing or dunning emails from billing statements prevents high-bounce dunning campaigns from damaging primary invoice delivery reputation.
- Audit-Proof Communication Records: Every dispatched email records the exact recipient address, timestamp, SMTP relay response, and unique
Message-IDfor legal dunning compliance. - Institutional Brand Cohesion: Fully responsive HTML templates styled with corporate brand assets, typography, and one-click payment buttons streamline customer settlements.
- Zero Disruption Redundancy: Automatic fallback to backup SMTP relays if a primary provider (e.g. SendGrid, Mailgun, AWS SES, Office 365) experiences rate limits or server outages.
3. Visual Interface & Form Structure
Section titled β3. Visual Interface & Form Structureβ4.1 SMTP Clients Management (Tab 1)
Section titled β4.1 SMTP Clients Management (Tab 1)βThe SMTP Clients tab lists all active mail delivery servers, displaying assigned functional purposes, server hostnames, port protocols, sender addresses, and connection testing buttons.

4.2 Notification Templates Management (Tab 2)
Section titled β4.2 Notification Templates Management (Tab 2)βThe Notification Templates tab manages customizable templates for key business events (Invoice Issued, Payment Receipt, Dunning Escalation, Low Balance Warning) complete with variable syntax tokens.

4.3 Email Dispatch Delivery Logs (Tab 3)
Section titled β4.3 Email Dispatch Delivery Logs (Tab 3)βThe Delivery Logs tab provides an immutable real-time inspection ledger tracking all outgoing email events, recipient mailboxes, status badges, and server response codes.

4.4 SMTP Server Configuration Form
Section titled β4.4 SMTP Server Configuration FormβThe SMTP Server Configuration form provides a standardized Level 2 interface for adding or modifying secure mail servers.

4.5 Configuration Parameters Reference
Section titled β4.5 Configuration Parameters Referenceβ| Parameter Name | Data Type | Required | Default Value | Description & Constraints |
|---|---|---|---|---|
| Configuration Name | String |
Yes | β | Friendly identifier (e.g. Corporate Billing SMTP, SendGrid Alerts Relay). |
| Functional Purpose | Select |
Yes | billing |
Assigned email category: billing, payments, dunning, alerts, or general. |
| SMTP Hostname | String |
Yes | β | Remote mail server FQDN (e.g. smtp.mailgun.org, smtp.sendgrid.net). |
| SMTP Port | Integer |
Yes | 587 |
Standard submission port: 587 (STARTTLS) or 465 (Implicit SSL/TLS). |
| Secure Connection (SSL/TLS) | Boolean |
Yes | false |
Enable for port 465 (SMTPS). Leave disabled for port 587 (opportunistic STARTTLS). |
| Username & Password | String |
Yes | β | Authentication credentials for the SMTP relay, encrypted at rest via AES-256. |
| From Email Address | Email |
Yes | β | Originating sender address appearing in the RFC 5322 From: header. |
| From Display Name | String |
Yes | β | Sender name displayed in email clients (e.g. Ring2All BSS Operations). |
4. Architectural Flow & Purpose-Based Email Routing Engine
Section titled β4. Architectural Flow & Purpose-Based Email Routing Engineβ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β Trigger Event: Invoice Statement Finalized β βββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ β βΌ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β Step 1: Purpose Resolution & Relay Selection β β β’ Identify event category: `purpose = 'billing'` β β β’ Query active relay from email configs store β β β’ Load template: `invoice_issued` and populate variables (`{{...}}`) β βββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ β βΌ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β Step 2: PDF Attachment & SMTP Transmission β β β’ Attach rendered PDF invoice buffer β β β’ Establish TLS socket with remote SMTP host (port 587 / 465) β β β’ Transmit message and capture server response `Message-ID` β βββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ β βΌ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β Step 3: Audit Logging & Delivery Record β β β’ Insert transmission record into email logs store β β β’ If failed: log detailed SMTP error trace and trigger alert β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ5. Common Scenarios & Operational Playbooks
Section titled β5. Common Scenarios & Operational PlaybooksβScenario A: Adding an Enterprise SendGrid Relay for Invoicing
Section titled βScenario A: Adding an Enterprise SendGrid Relay for Invoicingβ- Navigate to SETTINGS / System Settings / Email Settings.
- Click Add SMTP Server in the top action toolbar.
- Enter Name:
SendGrid Invoicing Relay. - Select Purpose: Billing / Invoices.
- Set Host:
smtp.sendgrid.net, Port:587, Secure:false. - Enter Username:
apikey, Password:<SENDGRID_API_KEY>. - Set From Email:
invoicing@yourcompany.com, From Name:YourCompany Billing. - Click Test Connection. Once confirmed green, click Save Configuration.
Scenario B: Auditing a Bounced Dunning Notice
Section titled βScenario B: Auditing a Bounced Dunning Noticeβ- Open the Delivery Logs tab.
- Filter search by the customerβs email address.
- Inspect rows with a red Failed status badge.
- Click on the error message to review the remote mail server bounce diagnostic (e.g.
550 5.1.1 User unknownor554 Message rejected). - Contact the clientβs account manager to update their primary billing email.
6. Model Context Protocol (MCP) AI Integration
Section titled β6. Model Context Protocol (MCP) AI IntegrationβThe Email Settings & SMTP Notifications module connects directly to the Ring2All BSS MCP Server, providing systems administrators and autonomous maintenance AI assistants with tools to inspect active SMTP relay health and dispatch diagnostic test notifications.
Available MCP Tools
Section titled βAvailable MCP Toolsβ| Tool Name | Access Role | Description & Primary Function | Example Arguments |
|---|---|---|---|
get_email_settings_config |
Super Administrator |
Retrieves active SMTP configurations, relay hosts, and alert recipient settings. | {} |
test_email_notification |
Super Administrator |
Sends a test notification email through configured SMTP relay to verify deliverability. | {"recipientEmail": "admin@example.com"} |
Sample MCP Tool Execution: get_email_settings_config
Section titled βSample MCP Tool Execution: get_email_settings_configβRequest Payload
Section titled βRequest Payloadβ{ "name": "get_email_settings_config", "arguments": {}}Response Payload
Section titled βResponse Payloadβ{ "activeRelaysCount": 2, "relays": [ { "id": 1, "name": "Corporate Postmark Relay", "purpose": "transactional", "host": "smtp.postmarkapp.com", "port": 587, "fromEmail": "billing@ring2all.com", "isActive": true }, { "id": 2, "name": "Amazon SES Bulk Relay", "purpose": "marketing", "host": "email-smtp.us-east-1.amazonaws.com", "port": 587, "fromEmail": "notifications@ring2all.com", "isActive": true } ]}Conversational AI Prompts for AI Assistant
Section titled βConversational AI Prompts for AI Assistantβ- βCheck which SMTP mail relays are currently active and their delivery ports.β
- βSend a test verification email to noc@ring2all.com.β
- βReview if the primary transactional SMTP configuration is functioning properly.β
7. Glossary
Section titled β7. Glossaryβ- Dunning Notice: Automated reminder email informing a subscriber of past-due balances and upcoming suspension deadlines.
- Message-ID: Globally unique identifier assigned to an email message by the transmitting mail server.
- SMTP (Simple Mail Transfer Protocol): Internet standard protocol for electronic mail transmission.
- STARTTLS: Protocol command allowing an insecure plaintext connection to be upgraded to a TLS-encrypted connection.
- Model Context Protocol (MCP): Open protocol standard that enables secure, controlled integration between Large Language Models and external tools, databases, and telecom rating engines.

