If smtp.host is present, configure Java mail sender, otherwise inject in a fake mail sender