[IMP] mass_mailing: Improving the performance