It looks like we need to check and then escape apostrophes ' in email addresses.
Steps to Duplicate:
1. Create a user with an apostrophe in their email address (ie Sam.O'Connell@email.com)
2. Submit a Samigo assessment as that user.
3. As the instructor (or admin) go to Total Scores and click on the that student's submission link. The student submission page will fail to load.
I have duplicated this at http://qa6-us.sakaiproject.org/portal