From where can I access mail data?

From where can I access mail data? I need to create an API to update/view/delete mail data. Can I do that? Is there any database access?

I don’t know, but maybe the Code (visit GitHub) gives you some answers :wink:
Everything should be documented.