Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Email notifications to setter when assigned a route and for new comments on routes #156

Open
1 of 3 tasks
skeltont opened this issue Aug 5, 2016 · 3 comments
Open
1 of 3 tasks

Comments

@skeltont
Copy link
Collaborator

skeltont commented Aug 5, 2016

The owner of a route should receive an email when:

  • a maintenance request is filled for their route
  • a route is assigned to them
  • their route receives a comment
@jonahgeorge
Copy link
Member

Email content?
If the route is re-assigned (if we can do that), should an email be sent to the new owner?
This is mainly a notification for the owner of route, correct? Since an admin will be assigning users

copied from dupe

@jonahgeorge
Copy link
Member

Let's use an after_save callback:

@jonahgeorge
Copy link
Member

Do we care about spamming users with emails? Should we add a virtual boolean property on routes called notify_owner? If false, this callback isn't triggered.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants