Issue #38: When restarting the service, don't send a mail if the mail interval hasn't elapsed yet