fixing time in mail.c