add config functions to include the buffer mail. Some functions about instant mails have been renamed
Added bufferMail thread