Develop a mail indexing and retrieval system in python
<p> 
Develop a  mail indexing  and  retrieval  system  which retrieves  mail  from  a  designated folder  (for  example 
“INBOX”)   depending on  the  user’s keyword  based query.  There will be  two  part   of  the   project: 
First, when a   mail comes  in  INBOX,   the  system  will find  the   category  of  the  mail  and  store it  in  a  
designated folder.   
Secondly,  when user  queried for a   mail,   system  will track  the  mail  according  to   the   user’s key based 
query.    </p>

<p>A   text  string  (keywords)  based search  can  be  done  to  retrieve  the  
actual  mail from  pool  of  mails.    
Official   Mails  Social Network related   mail  Spam  Others  
Institute   
Publication   
Banking  
Organizational  (IEEE)  
etc…  
Invitations  
Comments  
etc…  </p>

<p>Please help me in this project and I am very new in python language ...</p>

<p>basically  it is not the mailbox..  I have to upload i file .. and using the text in it and the title of the file .. i have to send it in a respective folder .. 
for example :   Dihing.txt is uploaded</p>

<p>directory structure : Inbox(subfolder( Hostel(subfolder(Dihing)) Hopital(..) ...)</p>

<p>So i have to save this file to Dihing folder .</p>

<p>But i have to search through text in the file also and decide in which folder it should go.</p>
