Editor of the mail app

Hello,
What is the editor of mail based on? Is fully self-developed or e. g. TinyMCE?
Could anyone add screenshot of the editor, showing the formatting options (to the app description)?
Thank you