- Create an inbox and put its address on the signup form.
- Wait for message.received, or poll messages.
- Read codes[0] from the message.
- Submit that code back to the site.
inbox = client.inboxes.create(username="signup") # put inbox["inbox_id"] in the signup form msg = client.inboxes.messages(inbox["inbox_id"])["messages"][0] code = msg["codes"][0]