This may be a request for upstream software, but the Phabricator does not accept feature requests from community for now, so I sent here to try my luck.
See the https://github.com/blog/1891-view-issue-pull-request-buttons-for-gmail, https://developers.google.com/gmail/markup/reference/one-click-action and https://bugzilla.mozilla.org/show_bug.cgi?id=1102364.