use instance_id rather than programme_id
Merge pull request #758 from unikent/hotfix/email-instanceid

use instance_id rather than programme_id