create a fake webmail with roundcube like mailtrap
you can use a fake webmail for catch your emails from  a smtp docker server. Like mailtrap.io  first...
Tags: php, productivity, debug