mail group optimization