Primarily designed for Gmail but also works on Google-free devices with a custom IMAP server.
Change authentication to "Plain text" in "Advanced Settings - Custom IMAP server", then change the server address, username and password accordingly. Check "Trust all certificates" if the server you are connecting to has a self-signed certificate.
SMS and call log data from the device are copied to a separate IMAP folder from where they can be restored at a later point.
See the source code page for more detailed instructions and FAQ.