Fix mail.ejs display bug when no mail found.