Import/export google mail (was "[is it possible to] create custom Google Lab") - gmail

Is it possible to create a custom Google Lab project? Or do Google Engineers have to create them? I'd like to integrate Gmail with another web application on a company web server.
If that is not possible, is there a way to import/export google mail in some format (ie: XML, HTML, etc..) for a specific gmail user or group of gmail users?

No.
You're looking for the IMAP protocol, which allows you to interact with Gmail messages.

No, it's not possible. Google Labs projects are Google's own experiments, not something you can add to yourself.

As Nadir Muzaffar said, maybe Gmail's API is what you're looking for: https://developers.google.com/gmail/

I'd like to add that you may create a browser extension.
You may start with experimenting with Developer toolbar (F12) and then pack your javascript to an extension.
If you use I.E. Chrome, see I.E. https://robots.thoughtbot.com/how-to-make-a-chrome-extension or try to look at your current extensions in order to understand how it's working ( ~/.config/google-chrome/Default/Extensions/ or ~/.config/google-chrome/Default/Extensions/ )
Note that if GMail changes, your extension may not work anymore.

Related

Google chat badge not working anymore?

I was using google talk chat badge (chatback - small iframe code that enables remote user to chat with you as anonymous) for some years but now it is not working anymore. The generated code is fine as it seems it opens a new window and all but after a second, it redirects to support.google.com page which of course is not of much use.
I rechecked the code, generated new code, didn't help. Again redirects to support.google.com. The code is generated from http://www.google.com/talk/service/badge/New
Anyone knows what's going on? Have they discontinued it or?
Also, a suggestion - is there any alternative web-presence button like that for other messengers which don't require client on other end. For Skype, Windows Live or some other messenger?
According to KatherineG at Google the chat badge is no longer supported. http://productforums.google.com/forum/#!topic/chat/_VpluJc6IfU
We are looking into using Crafty Syntax for a replacement.
http://www.craftysyntax.com/
Yup, been a while now - it was great while it lasted. The personal workaround that I am using is to sign up for a live chat service and hook it up with Gtalk. I am currently using ClickDesk - http://www.clickdesk.com/
Visitors chat using the live chat interface and I use the Gtalk interface.
For a while I used MeeboMe in combination with MeeboMe notifier but then it died as well (company was purchased by Google and the product was killed) I found some good alternatives myself so I am sharing them. Ironically, they are recommended by MeeboMe after they discontinued their service. Both are free.
Zoho Live Support - https://chat.zoho.com/
Yahoo! Pingbox - http://messenger.yahoo.com/pingbox/ (requires Yahoo! account but otherwise is great)
Too bad large companies simply kill useful products. But as far as I am concerned, Yahoo! Pinbox is even better than both Google chat badge and MeeboMe (at least for my needs) and can be customized to great extent.
I recommend ClickDesk - http://www.clickdesk.com too if you like to use Google Talk or Skype.
However, if you want to code - you can use xmpp protocol and hook it up with Pidgin notifications. Google Appengine also has notifications which I believe is what ClickDesk uses.

Automatically create GMail filters based on externally hosted word list

I'd like to easily import a word list, hosted on Github, to GMail as archive filters. Then later re-run this process to update the list.
The goal is to provide blacklists against common known Finnish spammers.
Possible options I have considered
Bookmarklet
Using GMail API
Creating GMail Labs extension (or whatever they are called)
What kind API options I have for maintaining GMail filter list? Programming language does not matter.
Optionally this would be a single click / single command operation e.g. from terminal or browser bookmark.
Today I was curious about this myself, although for a different reason... I found this info and thought I'd risk a bit of necromancy :)
You should take a look at Gmail settings API - filters
There is a Java wrapper

"Hello world" as a Gmail plugin?

I am trying to find out what the tech is like to create a Gmail plugin that accesses my attachments. Just to get started, what would be "Hello world" as a Gmail plugin? What would be the steps to create it?
Yes, you can creates plugin for Gmail, and two types:
Sidebar
Contextual
Look for Gadgets in gmail. After learning how to use these, you can add them to your gmail or anybody that wants to can do the same, to do so you can have Google host it.
It's easy if you know some HTML, JavaScript, and XML.
Good Luck
Take a look at these links:
https://developers.google.com/google-apps/gmail/contextual_gadgets
https://developers.google.com/gadgets/docs/basic
You cannot create Gmail plugins.
(Unless you work for Google)
Doing some quick research it looks like Google now supports a GMail api to build gadgets and/or plugins. I haven't done it myself, however it seems like they want it to work.
https://developers.google.com/google-apps/gmail/
I think you can do that. (You will find Hello World program too)
http://code.google.com/apis/gmail/gadgets/contextual/
Last year, Google released a GMail API and it allows you to perform the actions you want, but perhaps not with the UX you're looking for embedded directly inside of GMail. You can find it here:
https://developers.google.com/gmail/api/
Depending on exactly how you need it to work, you might be able to use either Contextual Gadgets (https://developers.google.com/gmail/contextual_gadgets) or a Google Chrome Extension to do what you need.
Google has recently introduced add-ons for Gmail (probably on Oct, 24 2017). It can be developed with Google Apps Script. Google's documentation says
What Gmail add-ons can do ?
Displaying additional information for the user in the Gmail UI.
Connecting to non-Google services, to retrieve information or take other actions.
Providing an interactive interface to allow the user to control the add-on or send information to another service.
I am not pretty sure (will go deep into it in coming days) whether you can deal with attachments. But I logically feel you can do that as well, because GAS supports handling attachments.
As of now, Google is not allowing to publish new add-ons however they will allow it in future.
While a few add-ons have been made available in the G Suite
Marketplace for users to install, it is not currently possible to
publish your own add-on to the Marketplace.
How can you publish your own add-on ?
As of now (26th Oct, 2017), they consider it on request basis. If you have a cool idea, fill this form to let them know about it. You will get notified once they accept your listing.
Here is how the add-on interface looks like inside Gmail
It is not possible to create plugins for Gmail. There is no developer API as such - only access to send/retrieve emails using standard SMTP/IMAP protocols.
See http://code.google.com/apis/gmail/oauth/

Hosting Google Apps UI in my app

I'm investigating the possibility of re-using Google Apps/Docs in a local hybrid desktop/browser application.
I've been going through the Google documentation on manipulating docs, eg. the Spreadsheet. I can't seem to find any info on actually hosting the UI. Is this possible, or does it require some form of permission from Google?
You want to basically embed an browser control in your application pointed at the URL of a Google Apps doc? You could use the Google Document List API to retrieve the documents for a user, then use the URLs of those documents in your embedded browser control.
You don't need Google's permission to do that; you're writing a browser with some extra smarts built in.
What do you mean by "hosting the UI?" These apps are HTML/CSS/JavaScript. Are you thinking about embedding them in AIR or Titanium, or in some kind of web control in another app?
i briefly looked into doing this, and figured if i really wanted to i could just load the gdocs page content dynamically, and use javascript to strip away the superflous elements like header and footer. but instead i'll probably just use an OS alternate because they have come a long way and I want rich hooks.

Integrating with Google Docs

Has anyone integrated an "Open in Google Docs" in their web app yet? Gmail has this for opening attachments. How about any other sightings of this in a non-google web app?
Google Docs does have an API which allows you to search, upload, delete and retrieve documents from the Google Docs list of a specific user. You could conceivably use this to upload a document from your server and then retrieve the URL of that document (once it is imported), which you can then use to redirect the user. It wouldn't be quite as slick as Gmail's integration since you wouldn't be able to show that fancy "Importing your document..." page, but it might suffice.
As for other sightings, I am not aware of any.
If you only need this functionality for yourself you could download the "Send to google docs" firefox extension. That will add a right-click menu on all document links on the web and allow you to open them in google docs.
You have to give a look to the Google Documents List Data API
There is a gdata objective-c implementation for the api access.
http://code.google.com/p/gdata-objectivec-client/

Resources