Load email from Javascript