Consolidate dependencies lib when packaging
Added mail integration
Refactored utils