code: def get_contact_by_email(self, email):
          
          if not email:
              return None
  
          email = email.strip()
          query = self.q().any(collection='email_addresses', attribute='address',
                               word=email, operation='eq')
          contacts = self.get_contacts(limit=1, query=query)
          return contacts[0] if contacts else None
docs: Returns a Contact by it's email
  
          :param email: email to get contact for
          :return: Contact for specified email
          :rtype: Contact