Plus-addressing
agent+anything@domain is delivered to agent@domain. The exact address it was sent to is stored on the message, so one inbox can serve many sign-ups and you can still tell them apart.
# Sign up to GitHub with agent+github@mailforbots.com, then:
wait_for_message {
inbox: "agent@mailforbots.com",
to_contains: "+github",
timeout_seconds: 120
}- Aliases need no setup. Any tag after
+works. to_containsonwait_for_message(and the REST/waitendpoint) matches against the address the mail was sent to.- If a message is sent to several aliases of the same inbox, it's stored once.
- You can also search with
to:agent+github@mailforbots.com.