'Args:
hs (synapse.server.HomeServer): server'

def __init__(self, hs):

    super(EmailRegisterRequestTokenRestServlet, self).__init__()
    self.hs = hs
    self.identity_handler = hs.get_handlers().identity_handler
