def get_contact_by_email(self, email):
if not email:<EOL><INDENT>return None<EOL><DEDENT>email = email.strip()<EOL>query = self.q().any(collection='<STR_LIT>', attribute='<STR_LIT:address>',<EOL>word=email, operation='<STR_LIT>')<EOL>contacts = self.get_contacts(limit=<NUM_LIT:1>, query=query)<EOL>return contacts[<NUM_LIT:0>] if contacts else None<EOL>
Returns a Contact by it's email

        :param email: email to get contact for
        :return: Contact for specified email
        :rtype: Contact