'\'This cannot be achieved in Android because Gmail app does not gives back any flag so that we can decide if the mail is sent or not. the only possible thing is that we can show popup dialog after coming back from the mail composing screen, irrespective of the status of the message being sent successfully or the user just pressed back without sending the mail.\''