Project

General

Profile

Actions

Feature #4244

closed

Multiple email addresses for each user

Added by Iming Chan over 14 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
Start date:
2009-11-19
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Is there anyway that we can store multiple e-mail addresses for a user? This feature will greatly assist us, so we don't have to select multiple people from the same company as "watchers". As well, they will all be informed on the progress of the task.


Files

emails.png (19 KB) emails.png Jean-Philippe Lang, 2015-01-17 15:23

Related issues

Related to Redmine - Feature #8818: Repository user-mapping with multiple email addressesClosedJean-Philippe Lang2011-07-14

Actions
Related to Redmine - Feature #4511: Allow adding user groups as watchers for issuesClosedGo MAEDA2010-01-01

Actions
Related to Redmine - Feature #37714: Show additional user email addresses on admin user listNew

Actions
Has duplicate Redmine - Feature #4675: Multiple e-mails for each userClosed2010-01-28

Actions
Has duplicate Redmine - Feature #10708: Need to add two email id for one userClosedJean-Philippe Lang

Actions
Has duplicate Redmine - Feature #14404: Multiple maild id for user in redmineClosed

Actions
Actions #1

Updated by Felix Schäfer over 14 years ago

Iming Chan wrote:

Is there anyway that we can store multiple e-mail addresses for a user? This feature will greatly assist us, so we don't have to select multiple people from the same company as "watchers". As well, they will all be informed on the progress of the task.

Maybe this would be better solved by allowing people to select a group in the watcher list instead of only single people.

Actions #2

Updated by Jean-Philippe Lang over 14 years ago

Felix Schäfer wrote:

Maybe this would be better solved by allowing people to select a group in the watcher list instead of only single people.

Indeed, this would be an elegant solution and pretty easy to implement.

Actions #3

Updated by Henrik Ammer over 14 years ago

Multiple emails on a user would be great for RedmineReceivingEmails and my situation since our employers email solution can't be accessed outside the office and we have quite a few people that work "on the go" that uses another email address when not in the office.

Not that this is the same need as the reporter but thought I'd mention it here instead of creating a new ticket.

Actions #4

Updated by Jean-Philippe Lang over 14 years ago

  • Category changed from Email notifications to Email receiving
Actions #5

Updated by Alain V. over 14 years ago

Felix Schäfer wrote:

Iming Chan wrote:

Is there anyway that we can store multiple e-mail addresses for a user? This feature will greatly assist us, so we don't have to select multiple people from the same company as "watchers". As well, they will all be informed on the progress of the task.

Maybe this would be better solved by allowing people to select a group in the watcher list instead of only single people.

I think this is a good idea and would be very useful also the my use!
I hope this could be done! I vote for this!

Actions #6

Updated by Shaun Gilroy about 14 years ago

This is actually a problem for us. We have clients who use a business and gmail address to respond to issues and issue comments are frequently getting lost because someone will reply to an issue from their gmail address and Redmine will ignore the email because it doesn't belong to a valid user.

Allowing users to have more than one email address would solve a lot of communication problems for us.

Actions #7

Updated by Anurag Chakradhar over 13 years ago

This feature is going to be very very useful for us. Most of our users have more than one email account they need to use due to various reasons, and currently there is no way to receive incoming emails from more than one email address per user.

Ideally, we will be able to add a list of email addresses for each user.

Actions #8

Updated by Glenn Gould over 13 years ago

Allowing Multiple e-mail addresses per user would be quite nice and would help with auto creation of accounts via an LDAP-Authentication-Source: in LDAP the mail-attribute is allowed to be multi-valued, currently when doing on the fly account creation, Redmine fetches the first mail-attribute returned by the LDAP-server, but that is not necessarily the one you wished to be in use.

Actions #9

Updated by Daniel Schuba over 13 years ago

+1

would be really great if a user could specify more then one adress and then select if it should be used for notifications and/or sending issues to redmine or for reseting password. I hope this will get a higher priority... this could make a lot of thing much easier

Actions #10

Updated by Roman Dolgiy over 13 years ago

There is one more use case when multiple email addresses would be helpful, when I'm using different addresses while committing to git repository, redmine hooks to my profile only commits where email is equal to email in my redmine profile. It would be great to be able to add multiple emails to profile.
See how how it works on http://github.com

Actions #11

Updated by Jürgen Hörmann about 13 years ago

I want to ask for this feature, too.

My clients use multiple email addresses to report issues. Each time someone uses a new address I need to create a new user.
The problem now is that all those duplicated users get emails on project updates. This is very annoying.

The possibility to assign multiple email addresses to one user is critical for me. Otherwise I cannot properly import issues from mail but need to enter each issue manually.

Actions #12

Updated by Dustin Lambert about 13 years ago

+1 for this feature...

Actions #13

Updated by Alexander Kriventsov about 13 years ago

+1
It will be great

Actions #14

Updated by Dan Scharon about 12 years ago

+1
This would definitely reduce the amount of unnecessary duplicate user accounts

Actions #15

Updated by Stéphane Gourichon about 12 years ago

+1

We have people replying to existing issues with a different e-mail address... replies get lost.

Actions #16

Updated by Daniele Palumbo about 12 years ago

+1
I need it!

Actions #17

Updated by Andre Rodier over 11 years ago

I need this as well.

Actions #18

Updated by Tobias Eigen over 11 years ago

+1

Actions #19

Updated by Anonymous over 11 years ago

+1

Actions #20

Updated by Hisham Al-Shurafa over 11 years ago

This is unbelievable. So if I have different email addresses and I reply from a different email address that is not associated with my redmine account, the reply will get lost? Atleast redmine should bounce back and tell me of this. It seems like this ticket should increase in priority and be targeted for the next release.

Actions #21

Updated by Stéphane Gourichon over 11 years ago

Jean-Philippe Lang wrote:

Felix Schäfer wrote:

Maybe this would be better solved by allowing people to select a group in the watcher list instead of only single people.

Hello,

I'm wondering if the needs explained by other users (issues marked as duplicate, latest comment above) are indeed the same.
In the meantime, plugins have been created to handle groups of people, yet it has nothing to do with people replying with a different e-mail address.

Indeed, this would be an elegant solution and pretty easy to implement.

I don't understand this solution nor why it would solve the first problem. Can you tell an explicit scenario ? That would definitely clarify. Thanks.

Actions #22

Updated by Nicolas Brisac over 11 years ago

+1
pretty important for us to avoid duplicate users (we auto-create users upon email reception)

Actions #23

Updated by Dhanushka Samarakoon over 11 years ago

+1
I'll explain my scenario.
Our company used to have format for email addresses. Recently it started using as the email address. Whether you send a mail to or it goes to teh same inbox. But for outgoing mail few people use instead of the new
We create all redmine users using the format. But when someone replies to the ticket from a it gets ignored sicne redmine doesn't recognize that email address.

The feature we request is
- Ability to add multiple email addresses to one user (so that incoming emails from any of those addresses would be linked to that user)
- Ability to select one or more email addresses from the list to deliver notifications.

Actions #24

Updated by Yehuda Katz over 11 years ago

+1
We have the same issue as many of the commentors:
Many of our users forward their business mail to their home mail and reply to tickets from either one.
It would be great to be able to add multiple email addresses per user so that the replies will be properly tracked.

Actions #25

Updated by Anonymous over 11 years ago

As was mentioned before, a beautiful example for a nice UI for such a feature is Github's user profile settings for emails, as can be seen here https://github.com/settings/emails if you are logged in with a github account. Basically, you can add any number of emails, and choose one as the "default", to which email notifications etc. go.

This also one possible way to resolve issue #12106.

This is just for the "frontend" part of course. For the "backend" part, I guess that instead of storing a single email address as part of each user record (i.e. a unique key in each User record in the database), one would have to employ a 1:N relation between users and emails... with a table of email addresses, each with some flags, like whether it has been verified or whether it is pending verification / authentication. Also, one would have to decide what happens if user A adds email address , then a minute later user B does the same... does the first request prevent the second? Or does the second cancel the first one? Or are both kept track of? The first approach could be abused to deny user B use of their email address (this could be mitigated by a verification timeout of, say, 30 minutes). The second approach could also be abused (a bot could simply repeat requests for addition of an email every 30 seconds), though it would require more effort. The last approach requires more work to implement, I guess, but might ultimately be the best solution...

Of course this is all purely hypothetical, and there might be much better solutions, too. And of course this all is quite worthless as long as nobody is willing and able to implement something. Still, I am hoping -- Redmine developers so far have surprised me very positively multiple times, by implementing or fixing things just as I needed them. Hats off to all the people who put hard work into making Redmine the great software it now is!

Actions #26

Updated by Gleb Skudnov over 11 years ago

Please create an option to send updates to multiple addresses. OMG. this is very needed feature.

Actions #27

Updated by Anonymous about 11 years ago

+1
We use email aliases, and as such sometimes when users send an email from an alias that is not listed as their primary in LDAP, the message bounces because Redmine doesn't know about that address. This would be a very nice feature.

Actions #28

Updated by Anonymous about 11 years ago

+1

Actions #29

Updated by Björn Lässig almost 11 years ago

+1
Using Aliases too.

Actions #30

Updated by Michael Kling almost 11 years ago

We got the same problem like Max Horn.

Actions #31

Updated by Deoren Moor almost 11 years ago

+1

This would be very useful for us since some of our users have multiple emails addresses for the different organizations/communities they're working with.

Actions #32

Updated by Aidin Abedi almost 11 years ago

+1

Actions #33

Updated by tom vaughan almost 11 years ago

+1 this is needed badly.

Actions #34

Updated by Jean-Philippe Lang over 10 years ago

  • Has duplicate Feature #14404: Multiple maild id for user in redmine added
Actions #35

Updated by Peter Beck over 10 years ago

Is there any progress with that issue ? Will we ever have the possibility to set multiple email addresses ?

Actions #36

Updated by Ruslan Khasanov over 10 years ago

+1

Actions #37

Updated by John Groboske about 10 years ago

Yes, please add this feature. I have users that submit tickets via email, and they would like the ticket to have a group email CC'ed on each email. This would easily be accomplished by allowing me to add an extra email to the users profile. Otherwise I need to remember to add the groups email as a watcher, which is suboptimal as I could easily forget to do this all the time.

IF anyone knows of a workaround please let me know. I thought of making a subproject for these users and adding the groups email as an email address that will always be notified if anything is updated in this project but that is getting a little wonky IMO.

Thanks!

Actions #38

Updated by Deoren Moor about 10 years ago

John Groboske wrote:

I have users that submit tickets via email, and they would like the ticket to have a group email CC'ed on each email.

It sounds like you would be interested in #4511.

I need to remember to add the groups email as a watcher, which is suboptimal as I could easily forget to do this all the time.

I forget where/what the feature is called, but at some point in the process users who are CC'd on issue emails are added as watchers. It may be that this only applies when a ticket is created however. If there isn't already a feature request submitted that would be a good one to make. In our particular setup this wouldn't work for our users until a moderator routes/assigns them out of the "Unassigned" project (which they do not have access to).

Actions #39

Updated by Toshi MARUYAMA about 10 years ago

  • Related to Feature #4511: Allow adding user groups as watchers for issues added
Actions #40

Updated by Keene Tsai almost 10 years ago

+1. This feature is definitely required.

Actions #41

Updated by Jack Edwards over 9 years ago

+100

Actions #42

Updated by Stéphane Gourichon over 9 years ago

Hi all,

Been following this ticket for a moment.

Clarifying the need

It looks like there are different needs:

  • Need 1: send-to-many. Redmine sending notifications to several addresses (#4675 looks like this)
  • Need 2: receive-from-many. cf. Henrik's comment above, people write or reply to Redmine, but the "from" is not what is setup as their address.
  • Need 3: group-as-watcher. This ticket description, which looks like a hack to add a pseudo-user with addresses of different people as a way to add a group as watcher.

Perhaps this should be made clearer, since one ticket to discuss three issues does not help much.

Quick-n-dirty fix for need 2: receive-to-many

I have been wanting the second need ( receive-from-many ) for years.

As a quick-n-dirty fix I modified the bash script I use to glue between postfix and rdm-mailhandler. Now it passes the mail body through a simple sed script like this :

sed -f ../sedscript <"${MAILBODYFILENAME}" >"${MAILBODYFILENAMEFROMADJUSTED}" 

The sedscript file looks like this:

s/someunwantedfromadress@somedomain/theactualaddressofuser@theactualdomain/
s/someotherunwantedfromadress@somedomain/theactualaddressofuser@theactualdomain/

It's hackish because any instance of the address will be changed, not only in "from" field, even in the body. This will break the general case. This will even break if some pattern happens to match a substring of a different address (e.g. / will turn into ).

In practice it will probably be enough for our use.

Hope clarifying the need may help sort things out. My two cents. Thank you for your attention.

Actions #43

Updated by Lauro Becker over 9 years ago

+1

Actions #44

Updated by Matias Fusaro over 9 years ago

+1

Actions #45

Updated by Toshi MARUYAMA about 9 years ago

  • Category changed from Email receiving to Email notifications
Actions #46

Updated by Toshi MARUYAMA about 9 years ago

  • Category changed from Email notifications to Email receiving
Actions #47

Updated by Marc Richter about 9 years ago

+1 for "Need 2", as Stéphane described it. Nowadays, I guess there is only a minority using one Mailadress only. The possibility to map multiple Mailadresses to one user is a great feature, not only for recieving Issue updates by mal, but also for Mapping code repository commits to the correct users.

Actions #48

Updated by Pablo Giudice about 9 years ago

+1 for "Need 2" as Marc and Stéphane described. In our company we have the same issue Dhanushka described long ago and we are want emails not to be lost when the sender has configured his email client with the old domain name. Thanks!

Actions #49

Updated by Jean-Philippe Lang about 9 years ago

  • File emails.png emails.png added
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.0.0
  • Resolution set to Fixed

Feature added in r13886.

Users still have a default email and a new form is added to manage additional email addresses, so users with a single email won't have to deal with it. Notifications can be turned on/off for each additional emails. All of them will be used for incoming emails or reposiotry user mapping.

The maximum number of additional emails per user can be controlled with a new setting (default set to 5), setting it to 0 will disable additional emails.

For backward compatibility with existing code, User#mail and User#mail= are preserved as the accessors of the default email address string. The existing User.find_by_mail now matches any of the user's email addresses.

Actions #50

Updated by Koronics Norbert over 8 years ago

Helló

How can i apply this future in our redmine?

Environment:
Redmine version 2.5.2.stable
Ruby version 1.9.3-p484 (2013-11-22) [i686-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2

Thanks a lot
Norbert

Actions #51

Updated by Toshi MARUYAMA over 8 years ago

Koronics Norbert wrote:

Helló

How can i apply this future in our redmine?

Environment:
Redmine version 2.5.2.stable

Not in 2.5.2.

Actions #52

Updated by Koronics Norbert over 8 years ago

which verison i need to use for this?

Actions #53

Updated by Toshi MARUYAMA over 8 years ago

You can see in this issue target version.

Actions #54

Updated by Mischa The Evil over 1 year ago

  • Related to Feature #37714: Show additional user email addresses on admin user list added
Actions

Also available in: Atom PDF