+def check_to_send_account(mail_file, mail_drafts)
- mail_content = Mail.read(mail_file)
What if the robot will handle one more kind of email? Then we should add one more function which accepts the mail_content instead of mail_file. So let's do such split now.
the mail robot just listen the mail dir for new email file. if you want to listen more than one mail directories, just use: listener = Listen.to(maildir1, maildir2)
Well I'm not talking about different maildir. But about different (new) email commands sent to the same compass-ci@qq.com
Thanks, Fengguang