First version of IMAP finished
Reenabled using of stat file
FIX: First time sync now first checks target to get informationen