Restore piece of code for mail reply