Short bio: Computer Scientist, FOSS supporter (read more)
Tux Machines (TM)-specific
Recently, Gmail added IMAP support, giving the powerhouse email host the ability to interact better with third-party clients. And Google, being the friendly neighborhood do-gooder that it is, provided instructions on how to use IMAP with a variety of third-party clients. However, it forgot one popular client: KMail, the email portion of the KDE Kontact personal information management suite. Google also neglected to mention that several of its other services, such as Google Calendar and Google Reader, can work well with Kontact. Here's how you can integrate them.
Let's start with KMail. Go to Settings -> Configure KMail, select the Accounts tab, and click Add to create an incoming account. Select "IMAP" as the type. Type in a descriptive name for your account name (I chose Gmail), your email address as your login (e.g. email@example.com), your password, imap.gmail.com as your host, and 993 as your port. Switch over to the Security tab and check "Use SSL for secure mail download." Click OK, then click on the Sending tab and click Add to create an outgoing account. Make the type "SMTP." Enter a description under name, smtp.gmail.com under the host, and 465 as the port. Then check "Server requires authentication" and make the login your email address (e.g. firstname.lastname@example.org) and your password. Switch over to the Security tab and make the encryption "SSL" and the authentication method "plain." You're done!