Fix get_assertions_by_email so it actually functions.