fix typos in email link and time calculation