I am trying to build an email server for my domains... What I'm doing now is receiving emails through SES and storing them in a S3 bucket, then when a user access the inbox it fetches the new emails and store them in my EC2 instance database.

Though it works I'm not completely satisfied with this solution, does anyone know any other/better ways to work this receiving-storing-accessing problem?

Thanks in advance.