In NodeJs, I use Mandrill to send email reminders to people who sign up for different types of events. Every five minutes, the application checks for ready reminders and sends them. The number or reminders can vary from zero to many with each check.
But here there are problems:
If, for example, 3 ready-made reminders are found with a certain check, and two of them have the same recipient (the same email address), but different merge_vars, because they are different events. When only one is sent (first found?), The Set merge_varswill be used for both of these recipients.
So, how to keep unique merge_varseven for multiple recipients with the same email address? I guess I could split duplicate email addresses into several different calls. But I would really like to make one call and send one array of recipients. Is it possible?
source
share