'Removes recipient of the email from the opt-out list'

def opt_in(self, msg_hash):

    email = self.get_recipient(msg_hash)
    if email:
        o = self.opt_table
        if self.has_opted_out(email):
            sa.delete(o, (o.c.email == email)).execute()
            g.stats.simple_event('share.opt_in')
            has_opted_out(email, _update=True)
            opt_count(_update=True)
            return (email, True)
        else:
            return (email, False)
    return (None, False)
