Multiple email sending fix