-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Milestone
Description
Implement sending the following messages (See https://hack4vdb.piratenpad.de/emails, some may already exist as templates):
Prio 1:
- Magic link login
(/login/<uuid>)when someone "signs up" with known email address (see todo in staticviews.py#home) - After meetup creation / to all nearby who haven't joined: Event has been created but not enough yet pls come
- After meetup was made viable by a join / to campaign: Shipping instructions
- After joining meetup / to joiner: You're confirmed for a meetup (when meetup is viable)
Prio 2:
- After meetup was made viable by a join / to owner: Another person has joined, your meetup is now ready to rock, we'll ship you stuff, here's the howto
- After signup / to new user: Welcome, here's your login link
Prio 3:
- After meetup was made viable by a join / to all who have joined except owner: Another person has joined, your meetup is now ready to rock, we'll ship your owner stuff, here's their phone, here's the howto
- After still-non-viable meetup was joined / to all nearby who haven't joined: Event has been joined but not enough yet pls come
- After still-non-viable meetup was joined / to all who have joined: Another person has joined but not enough yet pls invite
- After viable meetup was joined / to all who have joined: Yay another person has joined
If recipient has an email:
- Send via PostMark
- SMTP Server smtp.postmarkapp.com
Instructions: "Authenticate with your server API token as both the username and password" - Get API token from c3o or MSch or Stefan (he has it in a Slack DM)
If recipient is a bot user, not an email user:
- Call Tosh's sending endpoint
- Use bot template not email template (see texts in https://hack4vdb.piratenpad.de/emails)