Email - SMTP Email with Zipped Log Attachments
CommunityAutomate SMTP emails with zipped log attachments.
Authorlawless-m
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Sending large log files via email attachments leads to size and locking issues. This skill provides patterns for SMTP email sending with automatic log compression to ZIP files, support for multiple attachments, and reliable cleanup.
Core Features & Use Cases
- Read-locked logs: Reads logs using FileShare.ReadWrite to avoid lock errors
- Zipped attachments: Compresses logs into temporary ZIP files to reduce size
- Multiple attachments: Attaches zipped logs and additional files
- Cleanup guarantees: Deletes temporary ZIPs in finally blocks
- Graceful fallback: Falls back to non-zip attachments if zipping fails
Quick Start
Example: Create an Email instance and call:
- email.SendWithZippedAttachment(null, "C:\Logs\report.log")
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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 - SMTP Email with Zipped Log Attachments Download link: https://github.com/lawless-m/Gwen/archive/main.zip#email-smtp-email-with-zipped-log-attachments Please download this .zip file, extract it, and install it in the .claude/skills/ directory.