Project

General

Profile

Actions

Task #4159

closed

Integrations: add send-email integration

Added by Marcin Kuzminski [CTO] over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
10.08.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:

Description

Basically similar to slack/hipchat but sending an email to list of recipients from given input field. A lot of people wanted to do this via rcextensions

Actions #1

Updated by Daniel D over 8 years ago

Isn't that what notifications are for?

Actions #2

Updated by Marcin Kuzminski [CTO] over 8 years ago

You don't get notifications for pushes for example.

  • you might want to have an external email that aggregates those events
  • a lot of people not using slack, want a channel to catch push events, and read commits (Kallithea has this done manually for they mailing list for example, they push commits to mailing list email)
  • we could use our email backend, and our nice email, just put the formatted body like we do for slack/hipchat for example
Actions #4

Updated by Daniel D over 8 years ago

  • Status changed from New to In Progress
  • Assignee set to Daniel D
Actions #5

Updated by Daniel D over 8 years ago

I wonder if maybe the right thing to do is make real notifications on push.

Make it optional setting, turned off by default

This way you could fine tune which repos emails get send for - eg. make a special user with read access to X repos that they want to receive emails for.

Actions #6

Updated by Marcin Kuzminski [CTO] over 8 years ago

Not sure i understand the last comment, could you provide more details ?

Actions #7

Updated by Daniel D over 8 years ago

  1. Make push events send notifications (+ email)
  2. Add ui setting to users to select if they want to receive push events, make it false by default.

Then if someone wants to create a 'send-email' integration - it would be:

  1. create a new user, eg 'push-logs-user'
  2. make his email 'logs@company.com'
  3. select 'push events' in user's notification settings
  4. give him read perms to repos wanted to get logs for
Actions #10

Updated by Marcin Kuzminski [CTO] over 8 years ago

  • Target version changed from v4.4 to v4.3
Actions #11

Updated by Daniel D over 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF