clean url for mail retrieving

+ retrieve mails after check mail button is clicked