Added mail logger