Email Record: Active Inference, homeostatic regulation and adaptive behavioural control