How do i export emails to excel?

I am trying to categorize and count emails in Mac Mail.  Is it possible to export emails from Mac Mail into Excel so that I can sort and count based on "sent from" and "date"?  Any help would be greatly appreciated.

Well, I don't know of any way to do it using Mail or other GUI tools, but it's certainly not impossible with some work in Terminal.  I can easily give you a partial solution. If that's acceptable to you, the following type of commands should help:
Firstly, you need to open Terminal and change directories into your mailbox folder.  The name of this will depend a bit on the account you are using but it should be something like:
cd Library/Mail/V2/POP-username@domain
Then you need to find all the mail files and extract the fields you want:
find . -type f -name \*.emlx -exec egrep "From:|Return-path:|Subject:|Message-ID"  {} \;
At this point to put the fields together in one line with a field separator (I wouldn't recommend a comma because the subject might include a comma) would make that command pretty messy I think. However it shouldn't be too hard to take the output and process it.
Hope that helps get you started.
Ivan

Similar Messages

  • How can I export email addresses from apple mail?

    How can I export email addresses from Apple Mail?
    Just to be CRISTAL CLEAR please don't reply with export instructions from the address book.....not interested in this.
    I have customers that fill-out a request form online, then the data is sent to our database on our server, and another copy is sent to my email account. The server database got corrupted and is now lost. The only data left are in my email app called APPLE MAIL. I have created Filtered Folders so the data is just in one Folder, not mixed with all other emails. Is there a way to export the email names & addresses from APPLE  MAIL to a CVS file or Excel file?
    Again this is not a question related to Apple Address Book. This is ONLY for Apple MAIL exporting!
    Thanks

    There is a collection of AppleScripts called Mail Scripts you can download at this link.
    http://homepage.mac.com/aamann/Mail_Scripts.html
    The script to use from the collection of scripts is Add Addresses (Mail) which adds addresses found in the selected messages (in the header fields "From", "To", "Cc", and "Bcc") to the Address Book. This is much more flexible than the "Add Sender to Address Book" available in Mail and provides a convenient way for creating mailing lists.

  • How do I export emails from iPad 'Mail' box to iCloud?

    How do I export emails from iPad 'Mail' box to iCloud?

    but what about the emails that are in folders on icloud.. do I have to manually forward them.. or is there a setting..
    orr how can I import them through gmail..

  • How do I export emails from icloud

    How do I export emails from icloud

    but what about the emails that are in folders on icloud.. do I have to manually forward them.. or is there a setting..
    orr how can I import them through gmail..

  • HT201279 Using iPad: How do I export / email a Numbers document to Excel so a Windows user can open it?

    I have created a document on my iPad using the Numbers app. How can I send this via email to a Windows user so that it opens correctly? I know you can export a Numbers document to Excel from a Mac, but is there a way to do that on an iPad?

    same thing really. under the wrench is "Share and Print", you choose email and then choose the format (XL).
    Jason

  • How can I export emails from Mail to a file?

    I have emails in Mail from a previous email host I was using. I want to export them into a file to give to my new email host. Can someone give me guidance on how to do this?

    Try doing a Save As and make the format Raw Mesage Source.

  • How can I export emails from Thunderbird so that I can send the bulk file to my attorney?

    I have about 100 email threads that need to be given to my attorney in both electronic form and hard copy. Obviously, hard copy is no problem. But how can I give him an electronic copy of the emails? It seems to me if I just copy the archive, he won't be able to access them.

    In view of Matt's comments, and having confirmed that Outlook 2010 is also able to read .eml files, then I'd suggest that this add-on:
    https://nic-nac-project.org/~kaosmos/mboximport-en.html
    may be useful in exporting multiple files.
    How to install add-ons:
    http://www.ramsden.org.uk/3_How_to_install_Add-ons_in_Thunderbird.html

  • How do I export email data from outloook (on my old PC) to new iMac?

    I am trying to export files from PC (Microsoft Outlook) to new iMac? I have no idea how to do this and can't find any help in my help menu on my Mac. Does anyone know how to do this? I tried saving the .pst files to my flash drive and then importing on Mac, but that didn't work.
    Thanks!

    tree hugger,
    I have seen people advocate this app before, but I have no experience with it. Take a look.
    http://www.littlemachines.com/
    Regards,
    Steve M.

  • How export report into excel sheet automatically using SSRS 2010?

    Hi,
    I have created many reports using SQL Server Data Tool 2010 and at my work, we are using active batch to ran reports every month.
    Now question is, my boss want me to set up reports such a way that when active batch is ran, reports should be exported into excel sheet automatically with the default values given for parameters at some specific folder location. How can I export report
    into excel sheet automatically when active batch is executed?
    Please help me on this. Thanks for the help in advance.
    Vicky

    Check this:
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'C:/test.xls'
          filetype                = 'ASC'
          write_field_separator   = 'X'
        TABLES
          data_tab                = t_output
    Regards.

  • How can i export excel 2003(Version 11) from Crystal Report 8.5

    how can i export report to excel 2003(Version 11) from Crystal Report 8.5

    We i can only see below formats
    Acrobat Format (PDF)
    Character-separated values
    Comma-separated values (CSV)
    Crystal Reports (RPT)
    Crystal Reports 7.0 (RPT)
    Data Interchange Format (DIF)
    Excel 5.0 (XLS)
    Excel 5.0 (XLS) (Extended)
    Excel 7.0 (XLS)
    Excel 7.0 (XLS) (Extended)
    Excel 8.0 (XLS)
    Excel 8.0 (XLS) (Extended)
    HTML 3.2
    HTML 4.0 (DHTML)
    Lotus 1-2-3 (WK1)
    Lotus 1-2-3 (WK3)
    Lotus 1-2-3 (WK5)
    ODBC - AddressBook
    OBDC - CRGUP
    OBDC - CROR8V36
    OBDC - CRSS
    OBDC - CRXMLV36
    ODBC - dBASE Files
    ODBC - Excel Files
    ODBC - MS Access Database
    ODBC - Visio Database Samples
    ODBC - Visual FoxPro Database
    ODBC - Visual FoxPro Tables
    OBDC - Xtreme Sample Database
    Paginated Text
    Record style (columns no spaces)
    Record style (columns with spaces)
    Report Definition
    Rich Text (Exact Format)
    Tab-separated text
    Tab-separated values
    Text
    Word for Windows document
    XML
    there is no format with "Microsoft Excel 97-2000 (XLS)"
    what should i do?

  • Export webi to excel with the exact same format

    Hello expert,
         I develped a webi report, but when I exported it into excel file, its format is defferent from WEBI report, such as text for legend with multple lines in webi presented in one line in excel,  there are a few descrepency.  please tell me how can I export webi to excel with the exact same format?
    Many Thanks,

    Hi,
    There are options for the "save as excel" step .   either a) for formatting ,   or b) for data
    these should help.
    The reason why there are 'undesirable'  rows (also, merged rows / columns) is because your report document has table outlines which have been positioned 'by eye'.
    When the rendering algorythm outputs it content,  it's looking at pixel-level , so the relative position of borders can get messed-up. It's mainly due to slightly sloppy formatting.
    Regards,
    H

  • Export contacts to excel

    How do I export contacts to excel ?

    See my posts here: https://discussions.apple.com/message/21653759#21653759
    I know I posted another one relating to Numbers, but can't find it.
    Instead of sending to a TextEdit document, you can just send it to the clipboard (there is an action for that).
    Then paste it into Excel.
    Ok, here is the one with the clipboard action: https://discussions.apple.com/message/22309780#22309780

  • Export data to excel from jsf

    How can I export data to excel sheet using jsf ..Any components available..
    Thanks in advance.

    There is no JSF component which does all the task, but there are enough ways to achieve this. You can use a reporting framework, such as JasperReports or BIRT. You can use a Java Excel API, such as Apache POI HSSF or Andy Khan's JExcelAPI. You can write a plain vanilla CSV or HTML TABLE file which can also be read by Excel.

  • Export data to excel scientific notation

    Hello,
    How can I export data to excel such as 9900007600000018463000, 9900007600000018473000, etc. without transforming them into scientific numbers like 9,90000760000001E+21 ?
    Thank you for your help

    Sorry that my suggestion did not work. I have experimented with excel and could not get it to retain the precision on very large numbers for any numeric formatted fields. The idea I have for you is to create a table with your big number column defined as varchar2. Copy the data from the original table into the new table "insert into bignumber_varchar_table varchar_column select bignumber_table from bignumber;". Then do the export from the new table. This will keep the data as text and then excel retains the precision. Because it is text it will be displayed left justified. Right click and choose format cell, click on alignment, and set horizontal to right if you want it to look like a number in the spread sheet. Unfortunately, if you try to do calculations with it, the calculation appears to loose the precision.

  • How can I export a list of events for one of many calendars - e.g. "sailing" to use in Excel

    How can I export a list of events for one of many calendars - e.g. "sailing" to use in Excel?

    See this thread here
    Display number of emails by sender

Maybe you are looking for

  • How can I trigger an onchange event for hidden or never displayed item

    hi -- I have an item that I don't want displayed on my page -- more info than the user wants or needs; call it B. It needs to be set by an onchange event from a visible item (A); then, the change of B triggers on onchange to set another item (visible

  • Redirect to two separate pages in the same cfform

    I'm a bit of a novice at this.Hoping someone can guide me on how to accomplish this. I have a simple selection list (below). If they user chooses the selection in red I want it to redirect them to a page other than the one in the cfform tag, but I ca

  • Locale Settings lost on mobile client 7.8.2.14 after creation of BIP report

    Hi All, we went live with BI Publisher reports (Siebel 7.8.2.14) at the beginning of June. Now some of our users are having trouble with their mobile web client. For example our colleagues in Poland have their Windows XP regional settings set to "Pol

  • How to get current session language ?

    Hi, I want to get the current session's language. I'm using pageContext.getOANLSServices().toString() but its output is oracle.apps.fnd.framework.OANLSServices@f55137 Any ideas ? Thanks

  • User exits in HR-ABAP

    Hi all, Please can you give me the any small example on USER EXITS in HRmodule... thanks pooja