Use valid email recipients in tests.
Remove unnecessary cast to dictionary.