Skip to content

Email Settings & SMTP Notifications Module Documentation

7 min readUpdated: Nov 29, 2026
View as Markdown
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.

  1. Module Overview (Technical)
  2. Module Overview (Commercial & Business Value)
  3. Visual Interface & Form Structure
  4. Architectural Flow & Purpose-Based Email Routing Engine
  5. Common Scenarios & Operational Playbooks
  6. Model Context Protocol (MCP) AI Integration
  7. Glossary

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.

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).

  • 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-ID for 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.

The SMTP Clients tab lists all active mail delivery servers, displaying assigned functional purposes, server hostnames, port protocols, sender addresses, and connection testing buttons.

SMTP Clients List Tab

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.

Notification Templates Tab

The Delivery Logs tab provides an immutable real-time inspection ledger tracking all outgoing email events, recipient mailboxes, status badges, and server response codes.

Email Delivery Logs Tab

The SMTP Server Configuration form provides a standardized Level 2 interface for adding or modifying secure mail servers.

SMTP Server Configuration Form

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 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Scenario A: Adding an Enterprise SendGrid Relay for Invoicing

Section titled β€œScenario A: Adding an Enterprise SendGrid Relay for Invoicing”
  1. Navigate to SETTINGS / System Settings / Email Settings.
  2. Click Add SMTP Server in the top action toolbar.
  3. Enter Name: SendGrid Invoicing Relay.
  4. Select Purpose: Billing / Invoices.
  5. Set Host: smtp.sendgrid.net, Port: 587, Secure: false.
  6. Enter Username: apikey, Password: <SENDGRID_API_KEY>.
  7. Set From Email: invoicing@yourcompany.com, From Name: YourCompany Billing.
  8. Click Test Connection. Once confirmed green, click Save Configuration.
  1. Open the Delivery Logs tab.
  2. Filter search by the customer’s email address.
  3. Inspect rows with a red Failed status badge.
  4. Click on the error message to review the remote mail server bounce diagnostic (e.g. 550 5.1.1 User unknown or 554 Message rejected).
  5. Contact the client’s account manager to update their primary billing email.

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.

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"}
{
"name": "get_email_settings_config",
"arguments": {}
}
{
"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
}
]
}
  • β€œ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.”

  • 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.