Automate email reports with zipped logs.
Authorlawless-m
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Sending automated emails with large log files or other attachments often leads to email size limits, file locking issues, and temporary file clutter. This Skill provides robust patterns to overcome these challenges, ensuring reliable delivery of critical reports.
Core Features & Use Cases
- Zipped Log Attachments: Automatically compress large log files into temporary zip archives, handling locked files using
FileShare.ReadWrite, and ensuring cleanup. - Multiple Attachments: Easily attach both compressed logs and additional files (e.g., CSV reports) to a single email.
- Robust Error Handling: Gracefully fall back to sending uncompressed attachments if zipping fails, and ensure proper disposal of file handles to prevent locking.
- Use Case: Configure a daily automated report that emails a summary, attaches the compressed application log file (even if it's actively being written to), and includes a separate CSV file of processed data, all while ensuring temporary files are cleaned up.
Quick Start
Use the Email skill to send a daily report with the attached 'app_2025_11_03.log' file, ensuring the log is zipped and temporary files are cleaned up automatically.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Email Download link: https://github.com/lawless-m/FreeBird/archive/main.zip#email Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.