added time delay to sending result e-mail