Fixed date issue in HTML emails