Prevent patient out of fence email spam.

Only emails the carer once when the patient crosses the fence, rather than every location post outside the fence. A patient entering a fence again will reset this, meaning the carer will be notified by email if the patient crosses the fence again.
is_outside implies it is the current state of the patient, whereas it's the last known state of the patient