Unnoficial blog about administrating a Google-based infrastructure. News, knowledge base and how-tos.
mardi 3 mai 2011
Request for a new search parameter: has:label
Alos discussed here
An "enforced status" checkbox for IMAP unsubscription
Summary
- An "enforced status" checkbox for IMAP unsubscription.
- Similar in function to
Enforcedin GPO or!importantin CSS). - An old mail in both
- an enforced unsubscribed IMAP mailbox and
- an regular subscribed mailbox
Scenario:
The easy part
I access Gmail with IMAP from a desktop client and the local database is getting huge (think this). In order to make it slimmer, I decide to backup old mails.
To do this, I use a filter to grap all old emails (before:2007/04/01) and affect them a label (archives) and apply the selection to existing mails (Apply the filter to x conversations below). I then activate theAdvanced IMAP feature in Labs then I uncheck the subscribe button for the archives label.
Still with me?
Now, all my old mails are in one folder/label (archives). Since I unsubscribed from this label, I should not see it locally (If I still want to access an old mail, I go to the web interface).
The tough part
Except that… These old mails have labels of their own, like grandma, birthdays and so on. And I don't want to unsubscribe from birthdays. I just want old mails out. If a mail is labelled both birthday and archives, it will be downloaded, by virtue of belonging to birthday, even if it also belongs to archives!
Proposal
With an enforce checkbox for every mailbox (once Advanced IMAP feature is on), Maild which belong to both a subscribed and an unsubscribed mailbox will be downloaded or not depending on the enforced status (of course, at least one of the mailbox must have an enforced status and at least one must not have it).
That way, I will still get new mails about birthdays on my desktop client, but I won't receive the old mail about birthday!
Please tell me if it is hard to understand.
Also discussed here and here.
lundi 2 mai 2011
Quick notes with subadresses and filters
By combining this and an adequate filter, I found any easy way to send myself not without having them lying around.
Here's the way:
- Create a label "Notes". Give it beige color (like Post-it) with the color 243,231,179
- Create a filter:
- "to:(xxxxx+notes@gmail.com)" xxxxx is your gmail address
- apply label "Notes"
Great time (and memory) saver!
jeudi 28 avril 2011
Gmail Labs conflict: "Signature Tweaks" incompatible with "Quote Selected Text" lab
It seems I am the first one to document this. Feedback welcome!
jeudi 14 avril 2011
Gmail’s Mail Fetcher and MobileMe
MobileMe is in IMAP by default. It is possible to switch to POP (and thus to be able to retrieve MobileMe mail with Gmail’s Mail Fetcher, which is POP-only) but with two important limitations :
- It is an either/or proposal — contrary to most other mail services, one cannot have both IMAP and POP enabled at the same time. The very moment when POP is enabled, IMAP is disabled. So be sure to be ready (important if looking for syncing multiple devices or if you are acting on the behalf of a customer)
- The switch must be made by MobileMe staff, which further requires real-time switching (with the customer’s devices nearby)
Note: I goes without saying that these both limitations are Apple’s, not Google’s.
samedi 9 avril 2011
Maximum attachment size in Gmail
- Technical reasons
- The recipient doesn’t accept attachments that big
(source)
Gmail’s Autoresponder doesn’t support HTML Signature
Autoresponder sends mail in plain text, regardless of the format set up in settings. As a consequence, HTML signature appears badly.
Consider this (rendered result):
*Stéphanie Goujon Déléguée Générale web: http://www.adnfrance.org ** Vous n'avez pas lu notre dernière newsletter ? Cliquez ICI !<http://dl.dropbox.com/u/20188079/ADNImpact/ADNImpact-2011-03.pdf">
Instead of this (expected result):
web: http://www.adnfrance.org
Vous n'avez pas lu notre dernière newsletter ? Cliquez ICI !
mercredi 30 mars 2011
Case study: making a huge IMAP account work again with Mail.app
- Problem
- A 40 Gb Gmail account, accessed via IMAP with Mail.app. The machine has it harder and harder to still work. Old mails do not need to be instantly accessible.
- Solution
- Assign old mail a historic label (you can use a filter like
before:2010/01/01). Activate Advanced IMAP feature lab in Gmail. In the Label tab, uncheck visible in IMAP for the historic label. The machine works again, the new mails are instantly available and for the old ones, web interface at the rescue! - Notes
- Mail.app is notorious for not allowing IMAP unsubscription (except on Exchange). Fortunately, IMAP subscription is a server-side feature. So, if enabled at Gmail-level, all mail clients will comply. Even stoopid Mail.app.
I still have to check how Mail.app behaves with an already cached folder. Does it empty the cache accordingly (this is what is expected)?
lundi 28 mars 2011
Gmail and label colours
Depending on cases and people, it may be a feature or a limitation (for me, it is a limitation).
dimanche 27 mars 2011
Gmail bug with label and Select all conversations
Summary
Impossible to add labels on multiple page result at once. Each page must be labelled separately (once per page, not once per conversation, fortunately!)
Steps to reproduce
- Go to Settings, Labels and create a test label. Say,
Dummy label
. - On the main page, Enter the following query
before:2009/06/01(this is what I used because I wanted to select old mails). Be sure the result will span over multiples pages; if it doesn't just create a search string that will. - Just for checking everything else works fine: open the first result and add the
Dummy label
to it. It should now have theDummy label
, as expected. Then remove the label to reset. - Just for checking everything else works fine: on the main page, check the first result and add the
Dummy label
to it. It should now have, again, theDummy label
, as expected. Then remove the label to reset. - Now select all by checking the checkbox over
Search results
. Since it is a multiple pages search result, a message will appear atop the list, sayingAll xx conversations on this page are selected. Select all xxx conversations in Search results
. - Add the
Dummy label
to the selection. All the messages on the page will have theDummy label
label. Once again, this is the expected behaviour. So far, so good. Remove the label to reset. - Now the tricky part: again select all by checking the checkbox over
Search results
. Since it is a multiple pages search result, a message will appear atop the list, sayingAll xx conversations on this page are selected. Select all xxx conversations in Search results
. This time, do click theSelect all xxx conversations in Search results
. - Then you'll get it. No conversation had been selected!
Thus: incompatibility between adding label and select all on all pages.
If you cannot reproduce, please specify at which step it stop working like I described.
vendredi 25 mars 2011
Mail features that Gmail doesn't support (yet)
- Recipient-based mail formatting. Your boss wants you to attach an nice signature, but you hate HTML. With offline clients (Thunderbird, Outlook…), you can decide to reply with HTML for a given contact and with plain text for others
- Sender-based recipient address. You have configured two addresses for sending: me@home.org (default) and me@work.com. Way too often, you accidentally send a professional email with your personal address. The only known software I know which can prevent this is the incredibly-powerful-but-scaringly-CLI mutt (and the even more powerful mutt-ng)
Template:
Recipient-based mail formatting. See http://goo.gl/yyR6Z
Sender-based recipient address. See http://goo.gl/yyR6Z
dimanche 20 mars 2011
Evangelism: training users to use Gmail
Administrators should encourage people to use Gmail web interface (Gmail/web for short). Why? Less work. Do you want to handle Outlook/Thunderbird/Mail.app… problems on top of Gmail? Trust me, you don’t. I have my share of Mail.app issue (bad encoding, winmail.dat issues; both were perfectly handled by Gmail/web). Let alone Outlook.
Plus, a mail interface means minimal hassle for reading their mail on an mobile device (still some, because Google has different layout depending on the device). If users only use computers, no hassle at all (apart for the occasional resolution changing stuff).
First step: briefing with Boss
- Ask if it is OK for photo to appear on mail from employees. Say it make the company more humane or stuff like this. There is no bad answers, just be sure to know.
- Check if there is any Firefox- or IE- exclusive feature (that would prevent using Chrome, but don’t talk about Chrome, except if Boss is tech-savvy—Chrome is more responsive than Firefox 4 beta and support desktop and chat notifications; with other browser, one has to download external notifiers)
- Ask or prepare policy for signature
- Ask or prepare policy for default fonts and colour
- Ask if Boss is okay for you having a backdoor to users’ mail account (sensitive topic, explain this is for maintenance reasons). A positive answer is better as it will make you job easier but don’t be surprised if you get a “no”.
Second step: configuring
In order to optimise the experience, you’ll have to tweak Gmail first. Don’t count too much on automated deploiment—I heard Google Apps Premier is not much better here. The following operations will have to be made by hand on each account. Sorry, no answer file thus far…
Everything is in Settings.
- [General] Select the proper language
- [General] Activate shortcuts
- [General] [Depending on briefing] Activate Chat notifications and Desktop notifications
- [General] [Depending on briefing] Add a picture (or not)
- [General] Force sending in UTF-8 (die, pre-UTF8 encodings, die!)
- [Account] [Depending on briefing] Grant access to yourself (buggy with Google Apps–not Google regular–as of March 2011)
- [Forwarding] Deactivate POP, activate IMAP (POP sucks)
- [Labs] Activate Apps Search, if they use Google Docs (do yourself a favour, make them use it)
send feedback to Google about it - [Labs] Activate Canned Responses. Requires proper training. Prepare training before enabling, because it is visible.
send feedback to Google about it - [Labs] Activate Default ‘reply to all’. Fewer people will bug you if this lab is on rather than off.
send feedback to Google about it - [Labs] Activate Default text styling. You hate HTML mail, but they don’t… Make it easier for them to adapt to Gmail by telling them they can change the default font. Be sure to first check with Boss about any existing policy.
send feedback to Google about it - [Labs] Activate Don’t forget Bob. So far, I did not have any feedback from my users. I should communicate on this feature. Useful for informal group mailing (contact group is still better but it requires some work on their address book)
send feedback to Google about it - [Labs] Activate Flickr previews in mail, Google Docs previews in mail, Picasa previews in mail, Google Maps previews in mail. At worst, they won’t see them. At best, they will like them.
send feedback to Google about Flickr preview, Google Docs preview, Picasa preview, Google Maps preview - [Labs] Activate Got the wrong Bob?. Another useful feature to communicate on.
send feedback to Google about it - [Labs] Activate Inserting images. Talk about it during the drag-and-drop part (where you will talk about drag-and drop attachment).
send feedback to Google about it - [Labs] Activate Nested Labels. Again, something natural (at least for one of my users). For some times now, it had been possible to create nested folder with a GUI. Be sure to show them the GUI way!
send feedback to Google about it - [Labs] Activate Pictures in chat. Useless but appreciated
send feedback to Google about it - [Labs] Activate Undo Send. Definitely something to communicate upon. I tend to configure it to 30 seconds (you'll have to go back to general for this), but that’s just me.
send feedback to Google about it - [Labs] Activate Video chat enhancements. It’s a double-sided sword. Useful for video chatting, but you’d better have a good computer and a good connection..
send feedback to Google about it
Finally, place a shortcut on their desktop and on the quicklaunch (Windows XP-Vista), taskbar (Windows 7) or Dock (Mac OS X).
Notice I am well aware of several other labs (I use a lot of them myself). But they impact to much the interface for an average user who should not even know there are labs on.
Also: I know that labs may disappear.
Third step : training
This is where the fun begins. Show some thematics. Go crescendo, with something expected at the beginning and surprises at the end. Use two computers (one for sending, one for receiving).
Prepare two computers (Computer A and Computer B), with window not taking full screen on Computer B. Prepare an image and a doc file on the desktop, close to the window. Also be sure to use a used gmail account (so that it will have memory of who you mail the most, it will come in handy when demonstrating the two Bob features) and that computer has Gmail as HTML composing (or else, the attach image won't work).
Also: know which Mail client is used in the company (usually Outlook) and prepare a list of all the differences in philosophy.
Finally, prepare a printed summary for every attendant, summing up the main point. And when inviting people to the training, ask them to bring something to take notes (even though you’ll give them a printed summary).
Round one: Reply to a mail
- [Computer B] Login
- [Computer B] Show the interface. Tells that it auto-refreshes and that there is even better.
- [Computer A] Send a message with another of your address in Cc and an attachment (the audience does not need to see; click on a link to override undo send).
- [Computer B] Let Desktop notification do its job (if they don’t want Chrome, get a Firefox extension).
- [Computer B] Open the mail
- [Computer B] Show attachment visualisation for those in Google Docs (be sure to have trained on Google Docs before or at least to have planned to move to Google Docs)
- [Computer B] Get the attachment out
with drag-and-drop of attachments off the maildoesn’t work by clicking the icon or the Download link - Reply with reply to all (which is default). Delete the reply with the delete button and reply again now with a (tell the f will do the same for forwarding). Make sure to “forget” to write
Thank you.
. Show the audience that the mail is not saved. Dont save it, show this screenshot about quickreply then go back to the computer and show how the message had been saved meanwhile. - Attach an image via drag-and-drop and an attachment the same way
- Send it with the send button, tells the audience your forgot to say
Thank you
and undo the sending with the link. AddThank you
then send. Explain it is setup to wait 10/20/30 seconds (depending on what you chose) except if you perform an action on the windows (closing it or clicking a link). - Once back in inbox, show the archive button and say how important it is. Finish by opening a read mail, and delete it with the Delete button. Cancel the action and delete it again with #/
Round two: New mail
- Compose a new mail with New message. Select the address by clicking on To and show contact groups (tell that contact groups won’t be covered this time; it will be for another session, with filtering). Show links for Cc and Bcc. Delete it with the button (# doesn't work for drafts). Compose again, but now with c and send it with tab + enter.
- Create a new mail (again with c, so that they see it better). This time, enter the address by hand. Enter some person you usually mail together and, after three such person, voluntarily chose someone who does not belong to that group, in order to invoke Got the wrong Bob?
- Delete the addresses, start again with some people you usually mail together. Add them until Don’t forget Bob starts up. As for the previous tip, it may take some time to have it work.
- Type a message like
I attached the result
. Do not actually attach anything. Send (with Tab + enter, for good measure). - Show the audience the forgotten attachment detector working!
Round three: Organisation
- Start by saying that one the main idea in Gmail is to have an empty inbox. It eases the mind and help getting more organised (note: the Sentbox, can’t be emptied that way; this will be a surprise for Outlook users).
- Show how to create a label. Go to a message, click on label, type Urgent, create. Show that now the label lives on the left column.
- Show multiple labels. Go back to the message, select label again and start typing Partners, a label you will already have created; then check it, click apply). Show the audience that the message now belong to two label at the same time.
- Create nester label. Don’t show direct nested label creation (typing foo/bar), because it is nerdy enough and even power users will be content with a two-step creation).
- Show drag-and-drop assignment. Select the message and drag it to a third label on the left. Show the highlighting, the fact that it is now out of the inbox and the Cancel link. Cancel and do it again.
- This time, go to the said label, select the message and show how it belongs to the label. Hover over the label and click it to show the filter by label view. Go back with the mouse (so that they see the action of going back), in order to show that you can navigate back and forth.
- Show how to remove the label with the small cross (show also that if removed, it won’t go back to inbox but will go to All messages: the only way is to search for it then open it and click Put in inbox; this is complicated, so don’t mention it)
- Show delegation with grant access for assistant (extra page with video). If you also granted access to yourself, tell it!
- Hint at filters, but don’t actually show how to create one. Just sum up what can be done (only get unread messages, auto-sorting without marking them as read, auto-prioritising, sub-addresses…). Say there tools for better catching important mails, but that would require another session and you prefer them to be comfortable with Gmail before going further.
Round four: Customisation
- Go to Settings, General and show that Default new styling is possible, as well as changing signature (but first check with Boss) and vacation responder.
- Show canned responses.
- Show how to fetch mail from other account. Don’t actually do it, just show the potability. If they have a need for it, either they’ll do it by themselves or they’ll call you. People willing to retrieve several mails on the same account are already a bit geeky and so will probably be able to do it by themselves. So, you’ll do yourself and your audience a favour by not delving much into it.
Conclusion
Say something like there is much more to say, so I suggest setting up a new session in, say, one month, for dealing with sorting, fast scanning, canned responses, security and address book
. There you will talk about what had been left out as well as remote logout (forgot to logout at the public library? Now it's your chance).
Note to self: fast scanning is next/previous conversation (message if conversation view is disabled), with k and j, as well as enabling the quick preview lab feature.