Bug 921050 - Send email in the background.

Since isValidAddress does not depend on internal state in extractAddresses, I would pull it out, just to cut down on gc churn, could also be useful in other contexts outside this function.