Bug 863664 - [email] Use ArrayBuffer instead of Uint8Array

r? @mozsquib