Get the :class:`rtcclient.models.Member` object by the
        email address

        :param email: the email address (e.g. somebody@gmail.com)
        :param returned_properties: the returned properties that you want.
            Refer to :class:`rtcclient.client.RTCClient` for more explanations
        :return: the :class:`rtcclient.models.Member` object
        :rtype: rtcclient.models.Member

def getMember(self, email, returned_properties=None):
        """Get the :class:`rtcclient.models.Member` object by the
        email address

        :param email: the email address (e.g. somebody@gmail.com)
        :param returned_properties: the returned properties that you want.
            Refer to :class:`rtcclient.client.RTCClient` for more explanations
        :return: the :class:`rtcclient.models.Member` object
        :rtype: rtcclient.models.Member
        """

        if not isinstance(email, six.string_types) or "@" not in email:
            excp_msg = "Please specify a valid email address name"
            self.log.error(excp_msg)
            raise exception.BadValue(excp_msg)

        self.log.debug("Try to get Member whose email is %s>", email)
        members = self._getMembers(returned_properties=returned_properties,
                                   email=email)
        if members is not None:
            member = members[0]
            self.log.info("Get <Member %s> in <ProjectArea %s>",
                          member, self)
            return member

        excp_msg = "No member's email is %s in <ProjectArea %s>" % (email,
                                                                    self)
        self.log.error(excp_msg)
        raise exception.NotFound(excp_msg)