Unix Mail Server Setup and Integration with mobile app




I am in the phase of developing an android app.
We have Set up NodeJs as our backend, with mongoDB.
The app is running good so far.

Lets consider our domain name is “my_app.com"

We wanted to implement a new feature to the app, so let’s say a user receives an email to “his_username@my_app.com”.
The email contains an attachment.
We want the attachment to be directly sent to the Documents Page in the android app.

Is this possible? What do you think we need ?
Could this be done via Postfix ?
Should i setup a catch-all emails, filter the emails and accordingly send them to my users?


I think you need to write custom code to do that. Normal postfix will store that email/attachment in user mailbox.