← All 13 Plugins

Gramma

Email Monitor & Anti-Spam

Γράμμα (Grámma) — Letter, message, writing. In Greek, Grámma refers to that which is inscribed or written: an epistle, character, document, or dispatch.

Category: Operations & Security Version: 1.1.0 Requirements: PHP 7.4+ · WP 5.8+ Runtime: AES-256-CBC at rest · Silent drop

Overview

Gramma (Greek for letter or message) is a lightweight, set-it-and-forget-it email monitor and anti-spam engine for WordPress. It silently logs all outgoing emails, provides a clean dashboard to review delivery history, lets you edit and resend failed emails via modal, and blocks contact form spam before it reaches your SMTP server.

Architectural Rationale: WordPress SMTP delivery failures often remain hidden until a client loses business, while forms are bombarded with spam. Existing loggers store sensitive emails in plaintext, creating severe GDPR liability in data breach scenarios. Gramma captures all outgoing mail with authenticated AES-256-CBC encryption at rest, provides a resend modal, and drops spam via 8 intelligence layers.

Key Features

  • Silent Background Monitoring

    Captures recipient, subject, body, attachments, status, and SMTP headers for every wp_mail() call.

  • Modal Edit & Resend

    Inspect, correct recipient typos, and resend failed emails directly from the admin dashboard with automated spam bypass.

  • Smart Anti-Spam Engine

    Intercepts form submissions before hitting SMTP servers: checks disposable emails, known botnets, Tor exit nodes, and Cyrillic spam.

  • AES-256-CBC Encryption

    All logged email bodies and sensitive headers are encrypted at rest in the database.

  • GDPR Privacy Redaction

    Configurable toggle to disable body storage for confidential client communications.

  • Shadow Banning (Silent Drop)

    Intercepted spam is dropped silently, frustrating bots without tipping them off.

  • Form Compatibility

    Integrates seamlessly with Contact Form 7, Gravity Forms, WPForms, Ninja Forms, Elementor Forms, with auto-bypass for WooCommerce.

  • Deliverability Trends

    Built-in sparkline analytics visualizes 7-day email volume and delivery success rates.

Technical Specifications

Encryption AES-256-CBC authenticated payload encryption at rest
Spam Filters Disposable email list, Tor exit nodes, botnet IPs, Cyrillic detection, link limits, Splorp blocklist
Form Support CF7, Gravity Forms, WPForms, Ninja Forms, Elementor Pro Forms, WooCommerce
Database wp_gramma_logs (auto-pruned after retention limit)
Privacy Last-octet IP anonymization, integrated with WP Core Personal Data Eraser

Developer Integration

// Developer filter: Customize retention period
add_filter('gramma_retention_days', function($days) {
    return 30; // Auto-purge logs older than 30 days
});

// WP-CLI: Resend failed message by ID
$ wp gramma resend --id=142
WP-CLI: $ wp gramma stats

Deployment Notes

Silent Drop returns boolean true to WordPress form handlers so spam bots believe their attack was delivered, preventing automated retry storms.