started email tests and started to resolve some failing RSpecs