JavaScript email client