adde email spec for testing, added errplane for reporting application errors