Add email test, but range function seems broken. Other PR might fix issue so will return.