better error message + extract emails with parenthesis