Skip to content

[feature] Email Notifications on Comments #69

@roynalnaruto

Description

@roynalnaruto

Feature

What is the feature?

At present, DigixDAO does not have a comprehensive email notification service. Email notifications are delivered only in a few instances, namely, creation of a new project and processing of a KYC application.

We would like to add more functionality to the notification service, and extend it to other scenarios, one being:
Notify proposer when a participant comments on their project

How can it be done?

  • The code related to sending emails is in the event_handler.rb file
  • Installing sidekiq or resque is allowed. If redis is needed, do consult the DevOps team for availability.
  • Emails should be delivered asynchronously or should not block the main application
  • Do verify if the comment body does not produce a security vulnerability such as an injection.
  • If emails cannot be sent, three attempts should be tried if possible
  • Whatever technologies are integrated in order to fulfill this feature, please make sure they can be installed as well as controlled via Capistrano.

Other Comments

For the email template, it can simply be a text email. Sample template:

Hello {{proposer.displayName}},

The user, {{commenter.displayName}}, commented on your proposal, {{proposal.title}}, on {{comment.createdAt}}:

{{comment.body}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bountyThis issue has a bounty associated with it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions