pretty sure this is 100% legal
packaged as attachment
credit to @webosdev and the guy who made it, not me!
a birdie said to me, "you need to manually remove the old mail app, reboot, and install the package" so if you can't get it to work right away, try this
EDIT: updated with the actual new version
EDIT 2: @jasonl__ "Keep old email app installed. If you keep it, you can revert to stock by deleting the app from the launcher and restarting SysMgr." << pretty good advice
EDIT 3: Added com.palm.app.mail with app renamed to "Mail" .zip attachment
EDIT 4: @jasonl__ points out Also, should remove any homebrew patches that touch the email app before installing, or else Preware might lose track of them.
EDIT 5: It appears there's a bit of confusion regarding the two attachments: The 2nd attachment does not work. It has problems interacting with the OS's database system and does not have access to the accounts. The working .IPK is com.palm.app.email one.
For instructions on how to enable a separate app id with working database, thank Jason L who wrote up a neat github post https://t.co/YvA20ijx He also gives some other tips and insight. I personally don't have time ATM to package, but might be able to tomorrow.