I have a saved search sending an email to a static...
# suiteanalytics
a
I have a saved search sending an email to a static customer group, including summarized results from the search (a list of items). The problem with this approach is that I don't have much control over the email output, like I would with an email template. How best can I accomplish this? Workflow actions cannot send to customer groups (and cannot include saved search data in the email body to my knowledge); marketing campaign emails seem the closest fit to the use case but again cannot include results from a saved search in the email. A script would seem the best option, however all the options for sending email via script indicate a max of 10 recipients (it isn't meant for bulk emailing beyond that). I suppose a script could send an individual email to each recipient, but this is spammy and likely would result in failed emails, right? Am I missing an approach that would cover this?
k
I'd probably script it
That said this sounds like several scripts to accomplish
a
But how? How do you get around the 10 max email limit?
k
An individual email to each recipient - shouldn't be considered spammy
I know because I've got a massive script doing this at another client - sending over a thousand transaction emails in about an hour.
a
are your subject lines distinct for email or recipient? that's how i've had to get around it in the past
k
You might have to adjust your email titles some - appending something to the end to make them unique
a
👍
k
a date stamp + a user name/ID stamp should be plenty to make it not trigger spam filters.
also if you have DKIM set up properly with DMARC NS gets a lot less picky about the spam filter.
"My email subject" + "For email: "email address@email.com" +"On Date: {today}"
a
yeah, i think if you don't do that NS will basically block the emails before long
k
It will intermittently block email addresses. Some major pain on my end sending emails to a printer for printing at a client about 2 years ago
That was a fun one to resolve.
"oh I'll block one out of 20 this 15 minute window, next one i'll block 4 out of 22, the next i'll block 1 out of 17"
made tracking the issue down a nightmare. I think I'm half the reason NS introduced the undelivered emails page.
a
fun stuff - i always try to temper client/user expectations when they start talking about emailing in NS - letting them know it has a lot of issues
ha