Convert MailClient and FBClient to have class variables