Tempmails
Self-hosted. Privacy-first. Fully yours. Tempmails turns your WordPress site into a self-hosted temporary email service. Visitors generate a random disposable email address, receive messages in a real-time inbox, and discard them when done — all without leaving your site. Unlike third-party services, Tempmails runs entirely on your own server and IMAP mailbox. You own the data, the domain, and the brand. 🔒 No third-party email APIs 📬 Real IMAP inbox — not a simulation 🎨 Material Design 3 UI — beautiful out of the box ⚡ AJAX-powered — no page reloads 🚀 Quick Links Everything you need to get started, get help, and stay connected: 🌐 Official Website — tempmails.cv — docs, roadmap, and addon announcements 🎬 Installation Tutorial — Watch the step-by-step video guide below 📺 YouTube Channel — NeoSmartApps on YouTube — tutorials, walkthroughs, and new release demos ☕ Support the Project — Buy us a coffee via PayPal — Tempmails is free forever; your support keeps development alive 🖥️ Need Hosting? — Tempmails works best on a VPS or shared host with catch-all IMAP support. We recommend Hostinger (affiliate link — we earn a small commission at no extra cost to you) 🎬 Watch: Full Installation Tutorial Core Features 📨 Email Engine IMAP Email Fetching — connects to any catch-all IMAP mailbox Auto Email Generation — random disposable addresses on your own domains Real-time Inbox — AJAX-powered message viewer with configurable auto-refresh Attachment Support — download files with 40+ allowed extensions 🎨 Design & UI Material Design 3 UI — modern, responsive inbox with Inter & Poppins fonts White-labeled — fully rebrandable, no third-party branding in the UI Design Panel — live color picker and label customization in admin 🛡️ Privacy & Data Soft Delete — messages are never hard-deleted; safe for compliance Cookie-based sessions — no user accounts or registration required Zero external data transmission — all data stays on your server ⚙️ WordPress Native Uses WP database, cron, options, nonces, and security APIs throughout Settings API compliant admin panel Full i18n/l10n support with .pot file included Shortcode Place the inbox anywhere on your site with one shortcode: [tempmails_inbox] This renders the full inbox UI — email generation, copy button, auto-refresh, message list, and message viewer modal. Addon Ecosystem Tempmails Core is frozen infrastructure. All new functionality is delivered via addons using a documented, stable hook system — your site never breaks on Core updates. Available addon hooks cover: email generation, message routing, inbox access control, multi-domain support, billing integration, and more. See the Hooks section below for the full reference. Privacy Tempmails stores temporary email addresses in browser cookies to maintain inbox sessions between page loads. No personal data is collected, stored against user accounts, or transmitted to any external service. See External Services below for details on the optional GitHub ecosystem feed. Hooks Tempmails exposes a complete hook system for addon developers. All hooks below are stable and frozen — they will not be renamed, removed, or have their signatures changed in any minor version. Action Hooks tempmails_loaded — Core fully initialized; safe for addon bootstrap tempmails_core_ready — fires after DB integrity check; passes Core version string tempmails_activated — fires on plugin activation; safe for addon setup tempmails_deactivated — fires on plugin deactivation tempmails_email_generated — new address generated; params: $email, $ip tempmails_inbox_accessed — user opened inbox; params: $email, $ip tempmails_message_received — new message stored; params: $message_id, $to_address tempmails_message_marked_seen — message read; params: $message_id tempmails_message_deleted — soft delete triggered; params: $message_id, $email tempmails_cleanup_completed — cron cleanup finished; params: $deleted_count tempmails_fetch_completed — fetch cycle finished; params: $results array Filter Hooks tempmails_registered_addons — register your addon for the Addons admin page tempmails_generated_email — modify a generated address before returning it tempmails_available_domains — modify the domain list available for generation tempmails_can_fetch_messages — allow/block a fetch cycle; params: $bool, $engine tempmails_can_process_message — allow/block a single message; params: $bool, $message tempmails_can_store_message — allow/block DB insert; params: $bool, $data tempmails_can_read_inbox — allow/block inbox access; params: $bool, $email tempmails_message_content — filter body before display; params: $content, $message_id tempmails_default_settings — modify default option values on activation tempmails_inbox_attributes — modify shortcode default attributes tempmails_admin_dashboard_stats — extend dashboard stat cards tempmails_settings_tabs — add custom tabs to the Settings page External Services Ecosystem Feed (Optional — Default On) Tempmails fetches a public JSON file from GitHub to display addon and ecosystem information inside the WordPress admin panel. What this connection does: Fires only when viewing Tempmails admin pages Retrieves only public, non-personal JSON content Transmits no user data, site URL, or any identifiable information Results are cached locally for 1 hour to minimize requests Remote endpoint: https://raw.githubusercontent.com/ubermensch-site/tempmails-ecosystem/main/ecosystem.json Service provider: GitHub Privacy policy: https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement To disable this connection entirely, uncheck Ecosystem Feed under Tempmails → Settings → General. Hardcoded fallback content is shown instead — no requests are made. Google Fonts The frontend inbox loads the Inter and Poppins typefaces and the Material Symbols icon font from Google Fonts CDN. What this connection does: Fires only on pages where [tempmails_inbox] is rendered Transmits the visitor’s IP address to Google as part of a standard font request Service provider: Google Fonts Privacy policy: https://developers.google.com/fonts/faq/privacy To avoid this (e.g. for GDPR compliance), dequeue tempmails-google-fonts and load self-hosted font copies instead. Developers This section documents internal implementation details, security practices, and notes for addon developers. Security Hardening Log All security changes are tracked here for auditing purposes. 2026-04-04 — Security Review Pass (v1.0.7 patch) class-core.php — ajax_delete_message(): $_POST['message_id'] was wp_unslash()-ed but not sanitized, with a phpcs:ignore suppression comment masking the warning. Now wrapped with sanitize_text_field( wp_unslash( … ) ). Suppression comment removed. 2026-04-02 — Security Review Pass (v1.0.7 patch) class-design.php — Removed raw echo from render_page(). Static CSS moved to assets/css/admin.css. class-design.php — inject_css_variables() refactored: replaced echo “…” with wp_add_inline_style('tempmails-admin', ...). All $v() return values now pass through esc_attr(). class-design.php — inject_frontend_css_variables() refactored: all CSS values escaped with esc_attr(), wp_strip_all_tags() applied. class-design.php — wp_footer fallback replaced raw echo ' ' with a dummy registered style handle. class-tempmails-shortcodes.php — Inline replaced with wp_add_inline_script(‘tempmails-frontend’, …). class-ecosystem.php — Inline replaced with wp_add_inline_script(‘tempmails-admin’, …). class-core.php — ajax_mark_seen(): sanitized with sanitize_text_field( wp_unslash( … ) ). class-admin.php — save_settings(): Raw $_POST replaced with $clean_post = array_map(‘sanitize_text_field’, wp_unslash($_POST)). class-email-generator.php — get_emails(): Cookie data sanitized with array_values(array_filter(array_map('sanitize_email', $raw))). Addon Development Notes Hook Stability Guarantee All hooks listed in the == Hooks == section are frozen. Signatures will not change in any 1.x release. Breaking changes will only occur in a major version bump with a migration guide. $clean_post in save_settings hooks As of the 2026-04-02 security patch, both tempmails_before_save_settings and tempmails_before_save_imap_settings receive a sanitized copy of $_POST. If your addon previously relied on raw values via these hooks, retrieve those fields directly from $_POST with appropriate sanitization. CSS Variable Injection inject_css_variables() now attaches inline CSS to the `tempmails-admin` style handle. If your addon dequeues tempmails-admin, Design color variables will not be applied on admin pages. inject_frontend_css_variables() uses a priority waterfall: 1. Attaches to tempmails-frontend if registered/enqueued 2. Falls back to tempmails-frontend-css 3. Registers a dummy handle tempmails-design-vars in wp_footer at priority 1 File Structure tempmails/ ├── assets/ │ ├── css/ │ │ ├── admin.css │ │ ├── frontend.css │ │ └── ecosystem.css │ └── js/ │ ├── admin.js │ ├── admin-design.js │ └── frontend.js ├── core/ │ ├── class-core.php │ ├── class-admin.php │ ├── class-design.php │ ├── class-ecosystem.php │ ├── class-email-generator.php │ └── class-addon-handler.php ├── includes/ │ ├── class-tempmails-shortcodes.php │ ├── class-tempmails-database.php │ ├── class-tempmails-settings.php │ ├── class-tempmails-imap.php │ └── class-tempmails-fetcher.php └── tempmails.php
Top keywords
- tempmails40×3.11%
- php22×1.71%
- message19×1.48%
- inbox16×1.24%
- email15×1.17%
- css14×1.09%
- addon12×0.93%
- params12×0.93%
- wp11×0.85%
- admin10×0.78%
- hooks10×0.78%
- settings9×0.70%
Smush – Image Optimization, Compression, Lazy Load, WebP & CDN
Compress images, optimize images, and enable image lazy load automatically with the powerful Smush image optimizer to keep your WordPress site fast, without losing quality. Smush makes it easy to optimize images, compress images, and deliver images faster across your entire WordPress site. This all-in-one image optimizer automatically reduces image file sizes, enables image lazy load, and serves modern formats like WebP and AVIF, all without breaking image quality or adding extra work. Whether you’re running a blog, store, or portfolio, Smush helps you optimize images at scale and keep your site fast with a trusted WordPress image optimizer. Trusted by 1+ Million Sites | 4.8/5 Star Rating Get everything you need to optimize images and speed up your site. Smush works out of the box with no complicated setup – just install and let it handle the rest. Compress images without losing quality Reduce image file size automatically while keeping your images sharp and clear. Smush is an easy-to-use image optimizer which let’s you compress images using both lossless and lossy compression, giving you the best balance of quality and performance without extra work. You can also compress images outside the media library using Directory Smush, making it easy to optimize images stored in theme folders, plugins, or other directories on your server. Lazy load images for faster pages Enable image lazy load across your site so images load only when needed. This image optimizer improves initial page speed and creates a smoother experience for visitors without extra configuration. Serve WebP and AVIF images automatically (PRO) Convert images to WebP and AVIF and serve them automatically to supported browsers. Smush helps you optimize images using next-gen formats to reduce file size and improve load times across your WordPress site. Deliver images faster with an Image CDN (PRO) Serve images through a global image CDN to reduce latency and improve load times for visitors around the world. 119 global CDN servers Up to 500 GB of bandwidth Faster image delivery based on visitor location Improved performance for image-heavy and high-traffic sites Automatically resize and fix image dimensions (PRO) Eliminate common PageSpeed warnings and improve layout stability with automatic image sizing. Smush dynamically resizes images to perfectly fit their containers, regardless of original size, helping fix the “Properly size images” warning in Google PageSpeed Insights. It also automatically adds missing width and height attributes to your images, improving rendering speed and reducing layout shifts. This helps you meet the “Ensure images have explicit width and height” recommendation without any manual work. Optimize your entire site, automatically Smush works across your whole site as a powerful image optimizer to optimize images as you upload them and maintain performance over time without manual work. Optimize images automatically on upload Compress images in bulk or individually Works with your existing media library No need to re-upload images Enable image lazy load across your site Convert images to WebP and AVIF Deliver images with an integrated image CDN Automatically resize and serve correctly sized images Optimize images outside the media library with Directory Smush Built for performance Smush improves page speed and overall performance by reducing image weight and improving how images are delivered. Reduce page load times Improve user experience Better performance for image-heavy pages Supports image lazy load and preload images (PRO) for faster perceived performance Works with your existing setup Smush is built to work with your current WordPress setup, including popular themes, page builders, and plugins. Compatible with Gutenberg, Elementor, WPBakery, and more Works with WooCommerce stores No need to change your workflow Easy to enable and configure Designed to be simple You don’t need to be a performance expert to optimize images with Smush image optimizer. Works out of the box Simple settings when you need them No technical knowledge required Safe to use on any site Why choose Smush? There are plenty of image optimization plugins, but Smush focuses on making it easy to optimize images, compress images, and improve performance without complexity. As a leading WordPress image optimizer, Smush gives you powerful optimization tools without the technical hassle. Trusted by over 1 million WordPress users Built specifically for WordPress Regular updates and improvements Backed by the WPMU DEV team Get started in minutes Install Smush, activate it, and start to compress images, optimize images, and enable image lazy load right away. This easy-to-use image optimizer helps most sites see improvements immediately without changing how they upload or manage images. About Us WPMU DEV is a premium supplier of quality WordPress plugins, services and support. Learn more here: https://wpmudev.com/ Don’t forget to stay up to date on everything WordPress from the Internet’s number one resource: WPMU DEV Blog Hey, one more thing… we hope you enjoy our free offerings as much as we’ve loved making them for you! Contact and Credits Originally written by Alex Dunae at Dialect (dialect.ca, e-mail ‘alex’ at ‘dialect dot ca’), 2008-11.