fix for erroneous detection of data end

Single emails were often appearing to come through as multiple separate emails. I believe this is because the regexp testing for end of data needed the period to be escaped.