Patch #21101

Add go-to action schema

Added by An Phan over 7 years ago. Updated over 5 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Email notifications
Target version:-


This is to add a go-to action schema that should enable a "View issue" button in Gmail (similar to that in Github emails).

add_goto_action.diff Magnifier (1.63 KB) An Phan, 2015-10-29 16:31

ViewIssue.png (9.35 KB) Marius BALTEANU, 2015-12-11 14:54


#1 Updated by Jean-Philippe Lang over 7 years ago

What are the benefits of it over a simple link in the email?

#2 Updated by Marius BALTEANU over 7 years ago

The benefits from my point of view:
- you save one click when you aren't interested to read the email content and you just want to open the issue page directly. Now you need to click on the email subject (to open the email content) and then search visually for the URL to click it.
- the link to the issue page is more clearly highlighted.

#3 Updated by An Phan over 7 years ago

Exactly that. Also, hopefully it's just a start of more useful functions in the next versions – for example, the ability to mark an issue as resolved from within the mailbox.

#4 Updated by Go MAEDA about 7 years ago

This is a great feature but I could not see "View issue" link on GMail (Redmine 3.1.1 + patch).
Is this works fine on your environment? Please let me know how can I make the patch work.

#5 Updated by An Phan about 7 years ago

It won't work right away. You'll need to register with Google.

#6 Updated by Marius BALTEANU about 7 years ago

Here you can find a tester for email markups offered by Google.

#7 Updated by An Phan about 7 years ago

Here you can find a tester for email markups offered by Google.

Please note that this may determine the markups to be invalid if you're using a localhost URL – e.g. when you're testing Redmine from local env.

#8 Updated by Marius BALTEANU about 7 years ago

The patch works great on Redmine 3.1.2. Below is a notification email received from Redmine after my registration request was approved by Google.

It'll be a nice addition to Redmine notifications emails for Gmail/Inbox users.

#9 Updated by Go MAEDA about 7 years ago

  • Target version set to Candidate for next major release

#10 Updated by Go MAEDA about 7 years ago

  • Category changed from Email receiving to Email notifications

#11 Updated by Marius BALTEANU almost 7 years ago

This patch works also on Redmine 3.2.0 and 3.2.1.

#12 Updated by Maxim Krušina over 6 years ago

Oh, great! I just wanted to do this.
I tried it with Redmine 3.3.0, but without success.
When I look into code (email source), there are so e weird 3D added everywhere:

<div itemscope itemtype=3D"">

but IMHO it hsould be like this:

<div itemscope itemtype="">

When I removed thode 3Ds, I got better results with validator:

.erb template looks good, any clue, where those "3D" string are coming from?

#14 Updated by Go MAEDA about 6 years ago

  • Target version changed from Candidate for next major release to 3.4.0

Very useful for Gmail users. Users can access an issue quickly, without opening an email message.
Setting target version to 3.4.0.

#15 Updated by Jean-Philippe Lang almost 6 years ago

  • Target version deleted (3.4.0)

So, this feature is for Gmail users only and each instance needs to register at Google before using it?
I'd like to get more feedback about this. Sounds to me like a good plugin idea instead of adding it to the core.

#16 Updated by Maxim Krušina almost 6 years ago

Me too! I was playing with this idea (which is really nice by the way and there is a lot of ways to implement it), but I ended with the conclusion, that's more oriented to one-domain based hosted products, so the owner of product can ask Google for adding a scheme (like ie Trello).

#17 Updated by Jan from Planio almost 6 years ago

We've had GMail Actions / Markup in Planio for a few months now. At Planio, it was easy to enable this for everyone, because we send all email from one specific email address and we just had to request white-listing of that address with Google to make it work for all customers.

Adding this to Redmine, however, would mean that every Redmine admin would have to get their sender address white-listed by Google individually to use this feature. On the other hand, it does not hurt to have this markup in Redmine. It does not break anything and will just be ignored by Google if the sender isn't white-listed.

Jean-Philippe, if you decide that you would like to add it, I would be happy to prepare a patch for the code we use at Planio, which builds the tags in a view helper and could therefore be used not only in issues, but all other notification types as well. This approach also does not "pollute" the mailer views too much with additional markup.

#18 Updated by Aleksandar Pavic over 5 years ago


Large number of people who use their own pop3 or imaps, use gmail as email client... And it would have "wow" effect for new users...

However it does bring some ambiguity in some use-case scenarios, don't forget that Redmine is often used as helpdesk platform where "view issue" is possible, but preffered action is to reply to that email and Redmine parses that reply, instead of having users click "view issue"...

Probably best way to implement this (if it's to be implemented) would be to put in email settings "Enable/disable" email action buttons...

Also available in: Atom PDF