add mail activation and logger package