add groupings to email