Important changes to make webNotification and email running

This request would fix the 2 opened issues #30 and #29