MAIL support added to log library