Oliver Kurz wrote: > I call the uid like this > > uid("STORE",uid,"+FLAGS(\SEEN)") Are you shure you don't mean:: uid("STORE",uid,"+FLAGS(\\SEEN)") You are trying to create a non-existent special character, escaping the s in your example. I am not quite shure how Python reacts to that. regards Max M