The custom smtp server is not necessarily localhost.
Add external mailer tests. If EXTERNAL_MAIL_TESTS is set True and existing_address@… is replaced by an existing email address, two real mails will be received after each test run.