Export all my emails from Gmail account as xml - email

Bizarrely, I have been using an email account to store recipes.
I want to export all the messages to an XML format or similar, which I would be able to easily reproduce on a Wordpress blog or similar. Or simply print out all the recipes, but with some formatting put in place.
Gmail offers an RSS feed for labels, and exporting to external email client and I also found something called backup goo which allows me to export all the mails as files .eml in MIME format.
Anyone shed any light on working with this kind of stuff. Essentially, this may seem like a really frivously problem, but in fact it's a problem of me not being able to access this kind of personal data which I should be able to move elsewhere and represent to myself easily.

You can forward your emails to Thunderbird and use ImportExport tools addons to export all your emails as :
html.
csv.
xls.
mbox.
plain text.

Is Gmail the only option, you can use? The default setting for Gmail is to use IMAP protocol for exchanging e-mail. This means, all your e-mails (receipes) are still on GMail server. I would suggest using a different program (mail client) that offers more export options than Gmail.
I can connect to my Gmail account with Mozilla Thunderbird (using standard credentials, like IMAP server address, port, login, password) and browse all the messages from there. And, because this is IMAP, they're synced, not downloaded, so I have exact copy in both Gmail and Thunderbird. I don't remember Thunderbird (haven't been using it for ages! :), but I'm pretty sure that you'll find more export option in there or in any of their plugins, than you would find in Gmail.

Related

How to configure server (ldap?) for email?

I want to be able to read my email on several devices, preferably with Thunderbird. The process of reading it removes it from the server, downloading it onto whatever device I'm using. I would like to be able to have my email downloaded to my private server and be able to access it from any of my devices, preferably with "new mail" notifications being available on whatever device reads it first.
I thought I might be able to store it with LDAP, but I think that applies to only the address books.
Can someone outline what I would need to do this?
Thank you!
You probably have your accounts configured as POP3 with activated deletion when downloading. The most common way is to use IMAP instead (although it is also possible to configure POP3 to not delete e-mails on the server). Most clients will not delete e-mails from the server then by default. Please see your provider's instructions fot the correct IMAP settings.
For Thunderbird, see http://mzl.la/1ApHlPG on how to migrate to IMAP and http://mzl.la/1ApHiDr for more information on IMAP.
LDAP is not directly related to your e-mails.

Is there a way to backup emails from OWA?

I am using OWA on IE8 and am do not have any email client like outlook installed. We just access email in the browser using OWA.
Is there a script (maybe a scraper) that backs up the emails?
How do I go about writing such a script, is there a OWA API?
I googled a lot but every solution first syncs OWA to exchange or outlook or some other email client and then backs it up. I do not have that luxury.
I have python installed, so a simple email client script written in python can be helpful too, if it can somehow be configured to logina nd read emails from OWA.
Thanks !
http://davmail.sourceforge.net/ can be used as a proxy to expose OWA folders via IMAP and POP3.
The main goal of DavMail is to provide standard compliant protocols in front of proprietary Exchange. This means .. IMAP to browse messages on the server in any folder, POP to retrieve inbox messages only, .. Thus any standard compliant client can be used with Microsoft Exchange.
Then question becomes how to make backup of IMAP or POP3 server.
It's not possible to export mails in bulk from OWA, as far as I know.
As you suggested the only way would be using Outlook..

Put raw emails into an IMAP account?

I am working on testing internationalization of an email reader application. As such I'd like to have a bank of emails with unusual subject encodings and the like to test with. I have been successful at identifying some emails with the headers endoded in specific encodings I would like to test, however I'm not sure how to successfully get the emails into an IMAP account (or alternatively a POP3 account would suffice as well) without butchering the existing headers/encodings.
With Outlook, for example, I can drag and drop messages into the IMAP account from my regular POP3 email account, or use the "resend" feature to send the message to a different account, however, with both of those solutions, outlook re-encodes the headers using it's own choice of encodings. So, for example, instead of the subject being base64 encoded, suddenly it's quoted-printable encoded, and I need it to stay base64 encoded.
So can anyone suggest how to get raw emails imported into an IMAP (or Pop3) account without changing the header encodings for fields such as subject?
Just use some IMAP client, you can store messages to IMAP server.
One free C# IMAP client you can get from:
http://www.lumisoft.ee/lsWWW/download/downloads/Examples/
SotreMessage allows you store raw message to IMAP server.
Also if you have messages in IMAP server and wnat to ttransfer them, you can use IMAP sync application from same link.
If it's just for testing, set up an IMAP server locally, and store the messages on that. Choose some fairly transparent storage so that each message is a file on the server. Don't use an email client to write them, they are just text files (and in particular not Outlook!)

Email client detection

I have a project to send some email to end clients. My client need to know what exactly "Email Client" they use to read the mail. I know a hidden can get the open event and even the user agent they use, so by parsing user agent i can get most email clients info.
But it's hard to detect some popular web mail clients like "Gmail", "Hotmail" and "Yahoo mail". Because user agent return is only the browser user agent string.
Edit: i think i need a result more like this:
here
You will not be able to perfectly detect the e-mail client your users are using.
In E-Mail headers some programs choose to include the X-Mailer tag, which tells you exactly with what program and version your user is sending the e-mail - of course that can be faked. Not all programs use the X-Mailer tag, I e.g. couldn't find it in a mail sent with Microsoft Outlook 2010.
Besides that you could do some guesswork by the Received from tag in the e-mail headers, but in the end you can use SMTP and POP3 with most webmailers like GMail or Yahoo. That means even though your e-mail is sent via servers from google.com, the originating client could still be Outlook or Thunderbird and not GMail itself.
Maybe we can help you if you better if you could tell us why exactly your client wants to know the programs the users use to read their mail? Probably to tune the appearance of newsletters?
I know this is a really old topic, but the most reliable way to detect webmail client for gmail, hotmail, outlook.com and office365 is to use a tracking pixel. What you will want to do is geo-locate the IP address and you'll find gmail all comes from mountain-view and microsoft based products from redmond.
I haven't validated this with non-US users, but I'd imagine the caching services they use will all be in the same place.
Cheers

Using Google Apps Email in CodeIgniter

How do I use Google Apps' email services to send mail using the CodeIgniter email class? The email class seems to prefer SMTP, and I was going through the clients Google Apps account. I can't find any place within the Google Apps settings for SMTP. Does anyone know of a solution for this issue?
Right you don't find it because CodeIgniter uses the "mail" PHP function.
For some reasons only the most drunken PHP core developer knows about - this function do not support SMTP and worse even the admin can't configure SMTP usuage on Unix (it is possible to do this on windows - making the PHP design look even more crazy).
There are a few SMTP libraries out there that can handle SMTP Email, just use them
http://pear.php.net/package/Mail
http://sourceforge.net/projects/phpmailer/
http://swiftmailer.org/
or the Email classes from the Zend Framework which are uncoupled from the rest so easy to use with CodeIgniter.
Here is a blog post detailing instructions:
http://joelg.info/sending-email-with-gmail-using-the-codeignite
Extract From link:
Why send email with Gmail rather than
the server's SMTP configuration? There
are a number of advantages I see for
doing this: Ability to develop locally
and test email sending functionality
without going to lengths to setup a
local mail server. Ability to utilise
Google Apps emails to send email from
emails which are on your own domain.
Ability to have a reference of the
mail you send using this method in the
"sent" folder on your Gmail account.