[IMP] Group_by for mass mailing
[FIX] Performance corrections