Open akjones opened 7 years ago
This card is part of the feature Email a Group.
group-mailer
repo, one for the group mailer, and one for the group-mailer-receiver
group-mailer
group-mailer-receiver
POST
request for the send-email
eventsend-email
onto the streamgroup-mailer-receiver
pipeline. For reference:
The original scope of this story didn't include sending the email - that was left up to #141, assembling the state of the world and sending the email were thought to be independent enough that the work could be parallelised. Also work related to the group-mail-receiver should be part of that story.
The group-mailer should also provide some kind of consumer driven contract files for the group-mail-receiver to integrate into its pipeline so we can make the coupling between the apps explicit.
@akjones the story does not include the email itself, it does put an event back on the stream to make the mailer
service send the emails. Also I'm adding the contract test task!
This issue is being pushed back as part of a future email milestone. See #160 for what's being done now.
v0 of the email feature only supports emailing the entire organisation. This adds support for emailing a specific group.
The group mailer will need to track any event that effects group membership. This will include both member- and group-related events.
WHEN I send an email to@my-rr.com,
THEN the email should be sent only to members of that group.