Improving Our Notification System
5000 emails sent in 15 min with different parametres
Improving Our Notification System
Last month, we enhanced our notification system by building a communicator module. This new feature integrates all major communication methods for user outreach: Email, SMS, Inline Notifications, and Push Notifications.
To ensure our emails are delivered reliably through Mailgun, we implemented a batching system similar to the one used in our previous setup. Below is a step-by-step guide to help you use this system effectively:
Steps to Set Up and Use the Notification System
1. Choose the Event
Select the event that will trigger the messages you want to send to your users.
2. Import User Data
Navigate to the Booking tab and import your list of users, including details such as:
- Name
- Surname
- Phone number
- Registration status
- Any other relevant information
Example provided below.
3. Validate User Emails
After importing your user list, the system will validate the email addresses to ensure they are accurate and not fake.
- Fake emails can result in our Mailgun account being banned, so we use the QuickEmailVerification service to check and validate all imported emails.
- During validation, email entries will be highlighted in orange. This process typically takes a few minutes.
4. Send Your Communication
Once validation is complete and your email list is clean, go to the Notifications tab to compose and send your message.
- In this example, I sent an email to 5,174 registered users for a test event.
Sending Process Details
Draft to Processing
Clicking "Send Now" will change the status of your notification from "Draft" to "Processing."
Processing to Sending
Within 6–7 minutes, the status will update to "Sending." The system will send the emails to Mailgun in batches.
Sending to Sent
After five minutes, the status will change to "Sent." Mailgun will continue sending the emails, completing the entire process in approximately 16 minutes.