title: Gmail received in our app using gmail api or another way in android
body: <p>I have create Gmail app using Gmail api but i am cofusing how to received mail get in background and forground so please tell me any solution.</p>