fix bug of sending notification email twice
for really really tiny jobs.