Yes, creating an app that acts as both an SMTP server (for your old app) and a client (using modern protocols) is a good solution. However, you might want to check out SMTP relay services like SMTPmart, SendGrid, Mailgun or SMTPget. They can securely handle the email forwarding for you. Also, libraries like Indy or EasyMail could help with this setup without needing to build everything from scratch.