Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 !

share|improve this question
Can you install Outlook? This would save you a lot of time and potential data loss using other methods... When you say "we", is this a company or individuals? I ask because it can help us justify the answer if cost is a restriction – Big Chris Jan 30 '15 at 10:46
up vote 1 down vote accepted

You could look into the weboutlook package from Holovaty. I have not tried it, but here is it:

Microsoft Outlook Web Access scraper

Retrieves full, raw e-mails from Microsoft Outlook Web Access by
screen scraping. Can do the following:

* Log into a Microsoft Outlook Web Access account with a given username
  and password.
* Retrieve all e-mail IDs from the first page of your Inbox.
* Retrieve the full, raw source of the e-mail with a given ID.
* Delete an e-mail with a given ID (technically, move it to the "Deleted
  Items" folder).

The main class you use is OutlookWebScraper. See the docstrings in the code
and the "sample usage" section below.

This module does no caching. Each time you retrieve something, it does a fresh
HTTP request. It does cache your session, though, so that you only have to log
in once.
share|improve this answer
Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change. – DavidPostill Jan 30 '15 at 8:44
@DavidPostill the essential parts? Well, that there is a python module that does this for you. Do you want me to copy paste the code? That does not make sense to me and it might invole ¢ issues. – Private Jan 30 '15 at 9:50
You could say what the script does as a minimum. That is in the header of the source code ... – DavidPostill Jan 30 '15 at 9:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .