fix bug that resent emails every 2 mins