The issue
When noting an email address in a post, without any formatting, the address is automatically recognized as an email address and transformed into a link automatically. Meaning the 'mailto:' is added so that clicking on the link opens your standard email program to write an email to this address.
Now when adding a link to a text and entering the 'mailto:' plus the email address as the URL, the link will not work as expected and is instead showing the code with the email address being visible.
I would expect that using link formatting would not be overridden by any automatic recognition of URLs or email addresses.
Test here
This is a dummy/random email entered in the post without any formatting: example@email.rd
This is the same email used as a link with text: [email-link](mailto:example@email.rd)
Flarum information
Using Flarum v2.0.0-rc.8, many extensions; however all extensions that format posts or change the behaviour of the editor were disabled during testing.