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.
instead of last_outside. Maybe is_outside is more meaningful