Email System
PBS Knowledge includes a templated email system for automated notifications, announcements, and communications.
Overview
Email Capabilities
The system supports:
- Transactional Emails - Automated notifications
- Template Management - Customizable email templates
- Campaigns - Bulk email sending
- Tracking - Delivery status monitoring
Email Architecture
Event Trigger → Template Selection → Variable Substitution → Queue → Send
Email Templates
Template Components
Each template has:
- Name - Identifying name
- Subject - Email subject line
- Body - HTML email content
- Variables - Dynamic placeholders
- Type - Template category
Creating Templates
- Go to Admin → Email → Templates
- Click Create Template
- Fill in:
- Template name
- Subject line
- Email body (HTML)
- Available variables
- Preview the template
- Save
Template Variables
Use variables in templates:
Hello {{ student_name }}, Your milestone "{{ milestone_name }}" is due on {{ due_date }}. Best
regards, {{ department_name }}
Common Variables
| Variable | Description |
|---|---|
{{ student_name }} | Student's full name |
{{ faculty_name }} | Faculty member's name |
{{ milestone_name }} | Milestone title |
{{ due_date }} | Formatted due date |
{{ course_name }} | Course title |
{{ department_name }} | Department name |
{{ app_url }} | Application URL |
Notification Types
Milestone Notifications
Automatic emails for:
- Milestone assigned
- Deadline reminder
- Submission received
- Approval requested
- Status changed
System Notifications
Emails for system events:
- Account created
- Password reset
- Permission changes
- Sync completed
Custom Notifications
Create notifications for:
- Announcements
- Reminders
- Event invitations
- Status updates
Sending Emails
Transactional Emails
Triggered automatically by:
- System events
- Workflow transitions
- Scheduled jobs
- User actions
Manual Sending
Send emails manually:
- Go to Admin → Email → Send
- Select template
- Choose recipients
- Preview email
- Send or schedule
Bulk Emails
Send to multiple recipients:
- Select recipient group
- Choose template
- Configure personalization
- Review and send
Campaigns
Creating Campaigns
- Go to Admin → Email → Campaigns
- Click New Campaign
- Configure:
- Campaign name
- Target audience
- Template
- Schedule
- Launch campaign
Campaign Targeting
Target recipients by:
- Role (students, faculty)
- Program (PhD, honors)
- Status (active, alumni)
- Group membership
- Custom filters
Campaign Tracking
Track campaign performance:
- Sent count
- Delivery status
- Open rates (if configured)
- Bounce rates
Configuration
Email Provider
The system uses AWS SES:
- Configure credentials in settings
- Verify sending domain
- Set sending limits
Sender Settings
Configure default sender:
- From address
- Reply-to address
- Department name
- Contact information
Rate Limiting
Control sending rate:
- Maximum per minute
- Maximum per hour
- Queue management
Template Editor
HTML Editor
Templates support:
- Rich text formatting
- HTML markup
- CSS styling
- Image embedding
Preview
Preview templates:
- With sample data
- Across email clients
- Mobile vs desktop
Testing
Send test emails:
- Open template
- Click Send Test
- Enter test email
- Review received email
Best Practices
Writing Effective Emails
- Clear, concise subject lines
- Action-oriented content
- Mobile-friendly formatting
- Include unsubscribe option (for campaigns)
Template Organization
- Use consistent naming
- Group by purpose
- Document variable usage
- Version templates
Deliverability
- Authenticate domain (SPF, DKIM)
- Maintain good sender reputation
- Monitor bounce rates
- Handle unsubscribes properly
Troubleshooting
Emails Not Sending
- Check email queue status
- Verify AWS SES credentials
- Check sending limits
- Review error logs
Template Errors
- Validate HTML syntax
- Check variable names
- Preview with test data
- Review error messages
Delivery Issues
- Check recipient address
- Review bounce messages
- Verify domain authentication
- Contact email provider