added email stub to test