Autoproc email messages: removed check for ESRF, added check for 'ref-'