Bug 921050 - Send email in the background.

Maybe add a comment here like: // It's okay/expected that headers.length could be 0 and we'll return undefined