email preprocessing function completed and submitted