moved email spec helpers to rails helper