skill-php-email

Queue PHP emails with HTML and plain-text templates for library notifications.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/claudioborja/biblioteca --skill skill-php-email
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-php-email
Source: https://github.com/claudioborja/biblioteca/tree/main/.agents/skills/skill-php-email
Command: npx skills add https://github.com/claudioborja/biblioteca --skill skill-php-email

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill delivers reliable PHP-based email delivery for library systems by handling queueing, HTML and plain-text templates, and deliverability considerations.

Core Features & Use Cases

  • Queue-based email delivery: offload email sending to a background queue to improve request latency.
  • Template-based messaging: HTML and text versions with simple PHP templates for common library notifications.
  • Use Case: send welcome emails, password resets, and overdue notices automatically when events occur in the system.

Quick Start

Configure your environment and push a test email to verify the workflow.

Frequently Asked Questions about skill-php-email

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I queue and send library notification emails in PHP without blocking request latency?

This Skill handles PHP email queueing by offloading message delivery to a background queue, improving request latency by processing sends asynchronously. It renders HTML and plain-text templates for library-specific notifications like welcome messages and overdue notices.

What do I need to set up PHP email delivery with a MySQL queue and SMTP?

To configure PHP email delivery, you need a working .env configuration, a PHP environment, and a MySQL/MariaDB database for the email_queue table. PHPMailer is included as a lightweight vendor, ensuring compatibility with restricted hosting environments.

Can I send both HTML and plain-text emails using PHP templates for overdue notices?

Yes, template-based messaging supports rendering both HTML and plain-text versions using simple PHP templates. It handles per-user library notifications such as overdue notices, password resets, and welcome emails triggered by event-driven actions.

Does this PHP mailer workflow work on restricted hosts without composer?

Yes, this PHP email workflow works on restricted hosts by including PHPMailer as a lightweight vendor. It avoids heavy package management dependencies while maintaining reliable SMTP configuration for queue-based delivery.

Why use a queue-based email approach over direct SMTP sending for PHP applications?

Queue-based email delivery is preferred because it offloads email sending to a background queue, significantly improving application request latency and preventing timeouts when sending bulk or event-driven library notifications.