-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the default notification for all user roles be e-mail #2882
Comments
Here is a list all slack notifications that doesn't have email version: UPDATE_LEAD A few email notification that doesn't have slack version: PARTNERS_UPDATED_PARTNER |
Here are demo text messages that we send on slack, this could be helpful for designing email templates for them. UPDATE_LEAD: The lead of submission name has been updated from Di to Shrikrishna Singh by Shrikrishna Singh |
On June 21 standup we discussed the need to have different templates for slack, email, etc. because this feature would split up email from other messaging apps like slack,zulip, etc. Next Steps
|
As a user I prefer to receive an email notification when a new application is submitted to the lab I am managing. |
On August 2 @theskumar is working on this issue to ensure existing slack messages have email equivalents. When implemented this solution would ensure organizations could receive notifications without third party messaging apps like slack, signal, etc. The next phase of implementation could potentially include email digests, timed emails that are not sent in real time, and give users more options to select their preferences. To determine user base preferences we would need to determine a standard list of categories. |
Related to #2882 The messaging.py has quite a lot of code with multiple concerns, which can be easily divided into individual independent modules. This refractor puts different messaging adapters into its modules for better maintainability and readability.
Do we still need this functionality in the project settings (image below) after the completion of #2882? |
Hi @fourthletter, In my last discussion with @frjo , I am 100 % not sure if we are keeping this particular setting. Still, for the v1 of the default email notification, we decided to have an alternative email added that should be seen as the equivalent of the slack bot's channel. We have a game plan of how the V2 of the notification system could look. At a high level, it would mean that we'll have a broadly classified set of notifications that are a little flexible, and those notifications can be followed by different people or emails. Etc. |
@theskumar your approach makes a lot of sense moving forward. Thank you for clarifying. |
Comments in Hypha are currently routed to an email designated by (ie app@apply.opentech.fund). Is this a global setting? Fund? |
@fourthletter Can you post a copy of one of these comment notification mails ot Slack? I thought we only send e-mails to applicants regarding comments. |
On September 20th standup we discussed Saurabh's implementation approach of making default email into a global setting associated with a particular Fund. The email template will be a digest of similar slack messages in groups. For example, all slack notifications associated with a new submission will be in one email digest. |
@fourthletter Correction, the idea here is not the send different emails for different message types. The emails will be sent regularly (say 3 Hours or daily). If any new message comes for the staff/slack, since last sent they all will be sent in a single email. In this email, the message type can be grouped together in different sections. e.g.
|
On September 27 standup we received a demo of feature. The same consistent set of messages could be sent via slack and/or email. Other messaging options include Zulip or Signal. Next step is to have a webhook |
@fourthletter This is now on test, I have set so the e-mail digest goes out to your and mine e-mail addresses. On live I assume you will set some team/list e-mail address(s). |
I have set the cron job that sends the digest to every 10 minuts for the test site. |
I have received my first digest from the test site. Seems to work just as intended. |
|
We will need to refine this issue before OTF could use it. However, the feature works. Thank you! 👍 We need to document the chron job and other details for developers because each organization using it will have specific needs. |
Additional context
This is a sub-issue of #2911
User Story
As a staff member, I need to receive email notifications when a contractor has submitted an invoice, when a new application has been submitted, or when I need to approve or review an item in Hypha.
Description
The staff user roles now get notification only via Slack. For organisations not using slack this is big negative point in Hypha.
We should make all notification be e-mail by default and then keep Slack as an option for staff notifications. This should be controlled by an environment setting.
A neat plus feature would be to allow staff set their preferred notification method if there is more than one.
If an organisation have set that staff notification should go to Slack a staff user would then have the option to say that they want e-mail as well.
The text was updated successfully, but these errors were encountered: