I have created an chrome extension for gmail which loads some data as gallery when user compose new mail.after selecting the data,data gets loaded into body and subject.
But when i want to send that mail from his/her account,i need to personalize the content and then send it.
I have used jason,js/jquery so far for doing all above stuff.
Now i am looking forward to sending part after personalization.
Thanks for stopping by…!!
Google doesn’t want people messing with GMail code, so it is not publicly documented and obfuscated. This is mainly a security issue, intended for prevent external code (such extensions) use GMail without user consent.
if you want to be present on GMail UI, you should do a gadget with GMail API.
From Chrome extensions, it would be easier and safer using Google Apps Scripts GMail Services API. You can send messages from there – but there’s no UI interaction. You can start a GAS web service and call it from your extension via Ajax. Using Content Service is the simplest way to do it.
You should provide a way to users accept (one time only) running that service in their behalf, so the service can access their private GMail data. Simply navigate to the content service’s url, Google will prompt them.