To keep mail sent from development environments from reaching your clients, use this docker container as SMTP server. All mail is accepted and stored in one inbox.
25: This is where you point your mails at.
143: IMAP to check mail using your mailclient. (Please don't bind this port globally, but use --publish localhost:143:143 to keep others from accessing your development mail.)