Generate the IMAP commands here: Basic IMAPsync Command Generator.
Paste the commands into the textarea and hit submit
This will generate the commands to create detached screens running bash and the IMAP sync so they don't close afterwards.
This will also create the reconnect screens based on the email addresses used in the commands.