Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 436 Bytes

new-course-release.adoc

File metadata and controls

16 lines (12 loc) · 436 Bytes

New Course Releases

Sending Announcement Emails

The following Cypher statement can be used to get a list of email addresses for a mail merge announcement email.

MATCH (c:Course {slug: $slug})<-[:INTERESTED_IN]-(u)
WHERE coalesce(u.unsubscribed, false) = false
WITH c.interested AS interested, collect(u.email) AS emails
UNWIND emails AS email
WITH email WHERE email contains '@'
RETURN distinct email