title: Developing an email client app on android
body: <p>I am trying to develop a small application for sending and receiving emails on the Android plataform. Currently i have been using the Javamail api trying to send an email. However i thought that if i implement my app using javamail how am i going to receive an email and get a notification from my app that i have recieved it? Is this having to do with Service and Provder classes found on Android? I am a complete beginner on android. </p>
  
  <p>Also i tried this piece of code found here :</p>
  
  <p><a href="https://stackoverflow.com/questions/2713905/android-programming-send-mail">Android Programming - Send mail</a></p>
  
  <p>with no luck since application does not work.</p>