added routeparams to get the email ids when viewing/replying/forwarding/replyalling