[FIX] adds condition for powermail 2.1 signal slots
move functions to different classes in Utility