add dependencies for mail notification system
fixed a possible user filter nullpointer exception