[hook] [test] Simplified tests with mock account and email resources