Hi there,
I am extension developer with experience in chrome, Safari, Firefox.
I have gone through your requirements and I would like to offer you a ready software which will open Gmail sidebar ( standard one at the right side )
and display all they details of current email open with a button to call any of your specified API.
although your requirements are for many browser my solution is working with chrome as of now.
thanks.