title: How to Export Mail Item into Excel file
body: <p>I need your help to to export e-mail body to Excel File.</p>
  
  <p>The Excel file should contain the following fields:</p>
  
  <ol>
  <li>S\N.</li>
  <li>RMA Number</li>
  <li>Arrived Date to RMA site 1st level</li>
  <li>Forward Date from RMA 1st level to 2nd level</li>
  <li>RMA Finding 1st level</li>
  <li>Current Status</li>
  <li>Current Assign Team</li>
  </ol>
  
  <p>All the above data located in the email body.</p>
  
  <p>Here is an Example of the email body:</p>
  
  <pre><code>    [ https://jira.sandisk.com/browse/CSSFIRSTLEVELFA-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
  
  Tony Wang updated CSSFIRSTLEVELFA-571:
  --------------------------------------
  
      Summary:  RMA#60022453 --&gt; **RMA Number**(QSS RMA#CD1S0064) GS2 unit Failed:Quanta F5-APPLE-20130125(1pcs, without FA log files)  (was:  RMA#xxxxxx (QSS RMA#xxxxxx) GS2 unit Failed:Quanta F5-APPLE-20130125(1pcs, without FA log files))
  
  Goods arrived at QSS/RMA site on: Feb 5th, 2013 --&gt;**Arrived Date to RMA site 1st level**
  
  1st Level FA findings: 
  AI result: Pass --&gt; **RMA Finding 1st level**
  X-Ray result: Pass 
  
  SKU# SD5SG2-256G-1052E
  S/N:124310409056 --&gt; **Serial Number**
  
  QSMC/F5 - Apple feedback NG information:HDFU1 --&gt; **Status** Units moved to SanDisk 2nd level FA Lab (Feb 6th, 2013) --&gt; **Forward Date from RMA 1st level to 2nd level**
  
  All the below information is unnecessarily..
  
  &gt;  RMA#60022453(QSS RMA#CD1S0064) GS2 unit Failed:Quanta 
  &gt; F5-APPLE-20130125(1pcs, without FA log files)
  &gt; ----------------------------------------------------------------------
  &gt; ------------------------------
  &gt;
  &gt;                 Key: CSSFIRSTLEVELFA-571
  &gt;                 URL: https://jira.sandisk.com/browse/CSSFIRSTLEVELFA-571
  &gt;             Project: CSS - OSS and 1st level FA
  &gt;          Issue Type: RMA-FA
  &gt;         Environment: MATIS
  &gt;            Reporter: Ming Li
  &gt;            Assignee: Ming Li
  &gt;
  &gt; S/N#124310409056 history step: 
  &gt; 1. OSS request date:1/24
  &gt; 2. OSS visit date:1/25. (124310409056) error code:7080; apply for RMA. 
  &gt; SKU#SD5SL2-256G-1205E
  
  --
  This message is automatically generated by JIRA.
  -
  If you think it was sent incorrectly contact one of the administrators: https://jira.sandisk.com/secure/Administrators.jspa
  -
  For more information on JIRA, see: http://www.atlassian.com/software/jira
  </code></pre>