BatchMaileR
A Shiny web application for sending batch emails with personalized content and attachments
BatchMaileR is a professional R Shiny web application designed to streamline the process of sending batch emails with both common and personalized content and attachments. This tool is particularly useful for researchers, HR professionals, and anyone who needs to send customized emails to multiple recipients efficiently.
Key Features
📧 Batch Email Processing
Upload recipient data from CSV files and send personalized emails to multiple recipients simultaneously.
✏️ Rich Text Editor
Edit email content with various formatting options including bold, italic, lists, and more.
🎯 Dynamic Personalization
Use placeholders like [ColumnName] to personalize email subjects and body content for each recipient.
📎 Flexible Attachments
Attach common files to all emails or include personalized attachments specific to each recipient.
Technical Stack
The application is built using modern R technologies:
- Shiny - Interactive web application framework
- readr - Fast and friendly data import
- RDCOMClient - Windows COM interface for Outlook integration
- Bootstrap - Responsive UI components
Use Cases
BatchMaileR has been particularly useful in several professional contexts:
- Research Studies: Sending personalized invitations and materials to study participants
- HR Communication: Distributing customized employment documents and onboarding materials
- Academic Administration: Sending grade reports and feedback to students
- Business Operations: Distributing personalized reports and certificates
How It Works
The application follows a straightforward workflow:
- Upload Data: Import a CSV file containing recipient information
- Compose Email: Use the rich text editor to craft your message
- Add Placeholders: Insert dynamic fields using the
[ColumnName]syntax - Attach Files: Include common or personalized attachments
- Send: Process and send all emails automatically
Example Personalization
You can use placeholders to personalize both the subject and body of your emails:
Subject: Assessment Results for [AssessorName]
Dear [AssessorName],
Thank you for participating in our study. Your assessment ID is [AssessorID].
Please find your personalized report attached.
Best regards,
Research Team
Each recipient will receive an email with their specific information filled in automatically.
Installation & Usage
To run BatchMaileR on your local machine:
# Install required packages
install.packages("shiny")
install.packages("readr")
install.packages("RDCOMClient")
# Clone the repository
git clone https://github.com/fransfela/BatchMaileR.git
# Run the application
shiny::runApp('path_to_BatchMaileR')
Future Development
Planned enhancements for future versions include:
- Support for additional email clients beyond Outlook
- Email template library for common use cases
- Enhanced analytics and delivery tracking
- Multi-language support
- Cloud deployment options
Project Background
BatchMaileR was developed to address a common challenge in research and professional environments: efficiently sending personalized communications to large groups while maintaining quality and accuracy. The tool has been successfully used in perceptual evaluation studies and administrative workflows at GN Audio A/S.
Version: v2.1
Status: Active Development
License: Open Source
GitHub: fransfela/BatchMaileR
For questions or support, feel free to reach out or open an issue on GitHub.