robot re-structuration

Split mail client into process related (email_robot) and client related
(email_clients) functions