ArrayIndexOutOfBoundsException in getResponseAnswerHtml #2581

Fixes #2581
The tests were failing due to hard coded email values. I think it was due to a commit from yang mo. Should i just leave them alone?