working on fetching mail and reply