i could not understand your question but some articles related to mails are there that will be helpful :
iCloud : why i am getting junk mails ( spam ) support.apple.com/en-us/ht203524 , mail mavericks : manage messages using rules support.apple.com/kb/ph14906 , mail mavericks : about e mail accounts : support.apple.com/kb/ph14873 , iCloud : identifying & filtering junk mail support.apple.com/en-in/ht202315 , iCloud : manage junk mail : support.apple.com/kb/ph2649 , iCloud : filter mail automatically support.apple.com/kb/ph2650 ,
mail settings you might need from your mail provider support.apple.com/en-us/ht203995 - this article states how to set up IMAP a/cs , advanced accounts preferences support.apple.com/kb/ph19201 , mail yosemite : mail troubleshooting support.apple.com/kb/ph19184 , if messages aren't displayed or appear correctly support.apple.com/kb/ph19200 , problems viewing messages & mail boxes support.apple.com/kb/ph19181 , if searching doesn't find the right messages support.apple.com/kb/ph19188 , if measles appear to be missing support.apple.com/kb/ph19194 , if draft , sent , junk & deleted messages aren't where you except support.apple.com/kb/ph19196 , if you version of mail doesn't open support.apple.com/kb/ph19198 , if an account is inactive support.apple.com/kb/ph19191 , if a mail server rejects your login information support.apple.com/kb/ph19183 , if mail on your mac keeps asking for password support.apple.com/en-us/ht204187 , free up storage space foe an account support.apple.com/kb/ph19134 mail settings you might need from your email provider support.apple.com/en-us/ht203995 they are endless .