Added timeout to e-mail notifucation