<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Scott Yang's Playground &#187; Gmail</title>
	<atom:link href="http://scott.yang.id.au/tag/gmail/feed/" rel="self" type="application/rss+xml" />
	<link>http://scott.yang.id.au</link>
	<description>Faith, Technology and Randomness in Life, According to Scott</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:01:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Undo Send Available on Gmail</title>
		<link>http://scott.yang.id.au/2009/03/undo-send-available-on-gmail/</link>
		<comments>http://scott.yang.id.au/2009/03/undo-send-available-on-gmail/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 23:01:48 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/?p=1916</guid>
		<description><![CDATA[Undo Send &#8212; new in Gmail Labs, via Twitter. One feature that I wished that I have over the last 14 years of emailing. Back in the Thunderbird days, way too often press [Ctrl]-[Enter] instead of [Enter], which sent off an unfinished email. Too bad you only have 5 seconds to recall your mistakes.]]></description>
			<content:encoded><![CDATA[<p><a href="http://gmailblog.blogspot.com/2009/03/new-in-labs-undo-send.html">Undo Send &#8212; new in Gmail Labs</a>, via <a href="http://twitter.com/google/status/1357137265">Twitter</a>. One feature that I wished that I have over the last 14 years of emailing. Back in the Thunderbird days, way too often press [Ctrl]-[Enter] instead of [Enter], which sent off an unfinished email. Too bad you only have 5 seconds to recall your mistakes.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2009/03/undo-send-available-on-gmail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Accessing Gmail from Nokia S60 Phones</title>
		<link>http://scott.yang.id.au/2009/01/accessing-gmail-from-nokia-s60-phones/</link>
		<comments>http://scott.yang.id.au/2009/01/accessing-gmail-from-nokia-s60-phones/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 12:08:50 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Mobile Phone]]></category>
		<category><![CDATA[Nokia]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/?p=1872</guid>
		<description><![CDATA[Problem I have recently bought a Nokia S60 smart phone, and have migrated my email to Google Apps. I am now using the Gmail interface to access my emails when I am on my desktop, but I am wondering how I can send/receive emails on my mobile phone. Solution(s) Well. It is complicated and so [...]]]></description>
			<content:encoded><![CDATA[<h3 id="toc-problem">Problem</h3>
<p>I have recently <a href="http://scott.yang.id.au/2009/01/belated-christmas-pressies/">bought a Nokia S60 smart phone</a>, and have <a href="http://scott.yang.id.au/2009/01/google-apps-migrated-for-yangidau/">migrated my email to Google Apps</a>. I am now using the Gmail interface to access my emails when I am on my desktop, but I am wondering how I can send/receive emails on my mobile phone.</p>
<h3 id="toc-solutions">Solution(s)</h3>
<p>Well. It is <em>complicated</em> and so far I have no found a perfect solution in my case. There are a few good alternatives, but none works perfectly for me.</p>
<h4 id="toc-gmail-for-mobile">Gmail for Mobile</h4>
<p>The most natural solution would be <a href="http://www.google.com/mobile/gmail">Gmail for Mobile</a> from Google. It is a J2ME based application (so it is not native on Nokia S60), however it has probably the best Google integration currently.</p>
<p>What I like about it:</p>
<ul>
<li>It works well &#8212; just like Gmail inside the browser. Sent and received emails are linked together (just like on Gmail). You get your full contact list just like how it works on Gmail. There are lots of very convenient short-cut keys &#8212; just like Gmail!</li>
<li>It supports multiple Google accounts. Not a big deal for me but I think it would be for those having a dozen Gmail accounts that need constant monitoring.</li>
<li>Good off-line support. You can still read/compose email when you don&#8217;t have data connection.</li>
</ul>
<p>What I don&#8217;t like about it:</p>
<ul>
<li>Slow. J2ME-kinda-slow. With Google&#8217;s focus now on Android, I doubt a native Symbian/S60 executable will be released.</li>
<li>Buggy. Crashed on me a few times. There are also some bugs that prevent me from sending/replying emails. Currently I have two domains associated with my Google Apps account, and in Gmail I sent up to receive from both. However I cannot reply emails if it&#8217;s sent to my additional domain &#8212; it will say something about the connection problem.</li>
</ul>
<p>Currently I have Gmail for Mobile bound to my &#8220;Message Key&#8221; on my Nokia E71.</p>
<h4 id="toc-nokia-messaging">Nokia Messaging</h4>
<p><a href="http://email.nokia.com/">Nokia Messaging</a> is a push-email-like service provided by Nokia, and currently they are offering free trial and it allows you to manage up to 10 email addresses/accounts.</p>
<p>What I like about Nokia Messaging:</p>
<ul>
<li>Pretty responsive due to being a native executable. Good message listing view. Very concise message view.</li>
<li>Very flexible sync options to provide you a push-email like experience.</li>
<li>Good integration with the rest of the system. For example home screen notifications. Contacts. Etc.</li>
</ul>
<p>What I don&#8217;t like about Nokia Messaging:</p>
<ul>
<li>Sync chews battery. A lot. It also chews through your data usage, which can be costly.</li>
<li>Not Gmail-enough. While it claims full Gmail support, I don&#8217;t get conversation view between sender and receivers. Label obviously does not work.</li>
<li>Delete emails from Nokia Messaging actually does not delete that email from Gmail, but move to &#8220;All Mails&#8221; instead. It should have used IMAP command to move it to the Trash for deletion. So I ended up have to go back to the desktop version to delete all the unwanted emails.</li>
</ul>
<p>Another issue &#8212; who knows how much Nokia is going to charge this?</p>
<h3 id="toc-others">Others</h3>
<p>There are of course other free solutions. Default Nokia email client? Use mobile browser version of Gmail? I don&#8217;t think either have provided me the functionality of either Nokia Messaging or Gmail for Mobile.</p>
<p>Any other suggestion?</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2009/01/accessing-gmail-from-nokia-s60-phones/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to Migrate Emails from Maildir to Gmail</title>
		<link>http://scott.yang.id.au/2009/01/migrate-emails-maildir-gmail/</link>
		<comments>http://scott.yang.id.au/2009/01/migrate-emails-maildir-gmail/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 04:02:51 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[Maildir]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/?p=1862</guid>
		<description><![CDATA[As previously reported, I have moved my main email from my own mail server to Gmail hosted on Google Apps. Signing up was easy. Moving DNS records was pretty straight-forward (a few clicks if your domain is with DreamHost). Getting IMAP up and running requires one simple setting inside Gmail, plus reconfiguring your MUA (Thunderbird, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://scott.yang.id.au/file/images/migration-birds.jpg" width="279" height="300" alt="Migration" style="padding:3px;border:#ccc solid 1px;margin:0 1ex 1ex 0;float:left"/> As <a href="http://scott.yang.id.au/2009/01/google-apps-migrated-for-yangidau/">previously reported</a>, I have moved my main email from my own mail server to Gmail hosted on <a href="http://www.google.com/a/">Google Apps</a>. Signing up was easy. Moving DNS records was pretty straight-forward (a few clicks if your domain is with <a href="http://h77p.com/www.dreamhost.com/">DreamHost</a>). Getting IMAP up and running requires one simple setting inside Gmail, plus reconfiguring your MUA (Thunderbird, Outlook, etc).</p>
<p>The challenge for me though, is to move all my past emails from my email server (running Postfix + Dovecot) to Gmail. Although I am usually a &#8220;deleter&#8221; (rather than an archiver), I still kept some of my emails all the way from 1997. Over the years I have over 10,000+ emails sitting in <a href="http://en.wikipedia.org/wiki/Maildir">Maildir format</a> on my server, that somehow I need to move them to Gmail.</p>
<div style="float:right;margin:0 0 1ex 1ex"><script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div>
<p>So I tried to connect to my Gmail account using Thunderbird + IMAP, and then manually drag all the emails over. That was a <em>disaster</em>. For example if I highlighted 100 emails, then drag &#8216;n&#8217; drop them into &#8220;All Mails&#8221; under Gmail, and then the operation failed half way through (happens all the time) &#8212; I might end up having 50 random emails inside Gmail, but those were not deleted from my old account. That means I have to manually figure out which exact emails have been copied over &#8212; and that&#8217;s quite a tedious process. To make it safer, you just drag smaller batches over (say 10 at a time). Not a good idea if you have 10,000+ emails waiting to be moved.</p>
<p>Being a lazy programmer I thought the easiest way would be writing a small program that automates this. It would do one email at a time. If the operation failed, it will also know where to resume. The end result? A small Python script that&#8217;s conveniently named as <code>maildir2gmail.py</code>.</p>
<h3 id="toc-download">Download</h3>
<ul>
<li><b>Download: <a href="http://svn.fucoder.com/fucoder/maildir2gmail/maildir2gmail.py">maildir2gmail.py</a> (4.6k)</b></li>
</ul>
<h3 id="toc-usage">Usage</h3>
<p>This script basically works through all files in a directory, working out which ones are RFC822 email messages, and then push those files up to Gmail via an IMAP connection. It also remembers the file names that it had worked through so if the program somehow died (due to a bug for example), just restart it again. Well, this script is provided &#8220;as is&#8221; with no warranty. It <em>works for me</em> that migrated all my 10,000+ of old emails to Gmail, but YMMV.</p>
<p>To run it:</p>
<pre class="code">
Usage: maildir2gmail.py [options] [maildirs]

Upload email messages from a list of Maildir to Google Mail.

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -f FOLDER, --folder=FOLDER
                        Folder to store the emails. [default: All Mail]
  -p PASSWORD, --password=PASSWORD
                        Password to log into Gmail
  -u USERNAME, --username=USERNAME
                        Username to log into Gmail
</pre>
<p>For example moving all my inbox to Gmail&#8217;s &#8220;All Mails&#8221;, and all my sent mails to Gmail&#8217;s &#8220;Sent Mails&#8221;:</p>
<pre class="code">
$ python maildir2gmail.py -u username@gmail.com -p password ~/.maildir/cur
$ python maildir2gmail.py -u username@gmail.com -p password -f "Sent Mail" ~/.maildir/.Sent/cur
</pre>
<p>It will then print out which message it is working on. Go to sleep, and <em>hopefully</em> all messages will be migrated when you wake up in the morning :) On my old home server (AMD Duron 1GHz in Sydney), it took around 1-2 seconds per message. On a 64MB VPS I had with <a href="http://rapidxen.com/">RapidXen</a> in Fremont CA, it was doing around 2-3 messages per second.</p>
<p>Hopefully it would be helpful to some.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2009/01/migrate-emails-maildir-gmail/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>Google Apps Migrated for Yang.id.au</title>
		<link>http://scott.yang.id.au/2009/01/google-apps-migrated-for-yangidau/</link>
		<comments>http://scott.yang.id.au/2009/01/google-apps-migrated-for-yangidau/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 11:54:48 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Yang]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/?p=1854</guid>
		<description><![CDATA[Meet my new email client. Yes, it&#8217;s Google Mail. Or to be more specific, Gmail part of Google Apps, and it is now hosting my (and Vivian&#8217;s) emails on this domain (yang.id.au). I have been running my own email server for the last 10 years, hosting my own domains. It has been sendmail at the [...]]]></description>
			<content:encoded><![CDATA[<p>Meet my new email client.</p>
<p style="text-align:center"><img src="http://scott.yang.id.au/file/images/yang-google-app.png" width="340" height="221" alt="Yang.id.au at Google Apps" style="border:#ccc solid 1px;padding:3px;"/></p>
<p>Yes, it&#8217;s Google Mail. Or to be more specific, Gmail part of <a href="http://www.google.com/a/">Google Apps</a>, and it is now hosting my (and Vivian&#8217;s) emails on this domain (yang.id.au).</p>
<p>I have been running my own email server for the last 10 years, hosting my own domains. It has been <a href="http://www.sendmail.org/">sendmail</a> at the beginning, then <a href="http://www.qmail.org/">qmail</a>, and then <a href="http://www.postfix.org/">postfix</a> for the better part of last 10 years. I have tried various IMAP solutions. The ultra-insecure wu-ftpd first, then <a href="http://www.courier-mta.org/imap/">Courier-IMAP</a>, and for the last 2 years <a href="http://www.dovecot.org/">Dovecot</a>. The server has been running on various Linux distributions &#8212; RedHat, Mandrake and Gentoo. And in the recent years I also have to deal with email spams/virus. I have tried various combinations of <a href="http://spamassassin.apache.org/">Spam Assassin</a>, <a href="http://www.clamav.net/">ClamAV</a>, <a href="http://www.gasmi.net/gld.html">Gld</a> for greylisting and <a href="http://dspam.nuclearelephant.com/">dspam</a>.</p>
<p>Yes. Running a mail server &#8212; even for just two people &#8212; is a lot of work. Moreover I have not yet mention about hardware related issues that have been <a href="http://www.flickr.com/photos/57798966@N00/3195743616/">plaguing my home server</a> for the last couple of weeks. What a pain!</p>
<p>So I am at the cross-road of choices again. Should I bow down to the Google god and submit all my private emails into the cloud in return of piece of mind that they will be in safe hands? Or should I continue to keep my ageing server running, and train that stupid bayesian filter that still can&#8217;t seem to figure out the difference between spam and ham&#8230;</p>
<p>Not the first time I had this internal battle. I always picked the former in the past years. However this time, under the <a href="http://twitter.com/josephb/status/1105832957">&#8220;encouraging&#8221; words</a> of <a href="http://www.josephburford.com/">josephb</a> (yeah, I am just finding someone to blame in case it did not work out :), I picked the cloud. I think I made the right choice (so far).</p>
<p>Signing up and modifying the DNS records are easy. It&#8217;s also quite straight forward to set up IMAP4 so Vivian can still use Thunderbird to access her emails. Now I have fully integrated email solution that can be accessed from anywhere&#8230;</p>
<ul>
<li>Web-based access via Google Mail</li>
<li>IMAP4-based access via Thunderbird</li>
<li>Mobile-based access via Gmail J2ME app</li>
</ul>
<p>So far so good. No more software upgrade, or ringing home from work &#8220;hey Vivian can you reboot the server?&#8221; Although I am no longer able to <code>grep -r foobar ~/.maildir/</code> to scan through my mails, I can now search my emails like how I search on Google.</p>
<p>Copying all my existing emails (from the last 12 years) to Google did require a little bit more work. I will write about it in my next post.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2009/01/google-apps-migrated-for-yangidau/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Gmail via POP3</title>
		<link>http://scott.yang.id.au/2004/06/gmail-via-pop3/</link>
		<comments>http://scott.yang.id.au/2004/06/gmail-via-pop3/#comments</comments>
		<pubDate>Fri, 18 Jun 2004 06:11:51 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[POP3]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2004/06/gmail-via-pop3/</guid>
		<description><![CDATA[Want to read Gmail from Outlook/Thunderbird/Mutt? Pop Goes to GMail runs on your Windows desktop, fetches new messages from GMail at regular interval, and then let you read them from any email readers supporting POP3 protocol.]]></description>
			<content:encoded><![CDATA[<p>Want to read Gmail from Outlook/Thunderbird/Mutt? <a href="http://jaybe.org/pgtgm/">Pop Goes to GMail</a> runs on your Windows desktop, fetches new messages from GMail at regular interval, and then let you read them from any email readers supporting POP3 protocol.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2004/06/gmail-via-pop3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

