nice new function: update_email_count()