> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.airmailapp.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to rebuild cache? Airmail for macOS

If Airmail does not update your emails such as outdated search result, loading messages or folders, you 
 have a solution to update the database manually. 

 To resolve such a problem, go to 'Preferences > Accounts > Select an Account > More' and under 'More' 
 tab there is an option named 'Clean Message Cache' . Its beside 'Reset' as shown in the screenshot below: 

![](https://storage.crisp.chat/users/helpdesk/website/cda391d2-f5f9-4dc6-bec0-935bb2d9a44e/53065e0e-9acf-4a3b-bea6-fa7ac3eae184.png)
 After clicking on 'Clean Message Cache' there’ll be a dropdown window and clicking 'Rebuild' will allow 
 you to rebuild database for a particular account as illustrated here under: 

![](https://storage.crisp.chat/users/helpdesk/website/cda391d2-f5f9-4dc6-bec0-935bb2d9a44e/48f0100e-69c0-4147-bb65-18fd8eeb65d5.png)
 When it’s done cleaning, your mails will be downloaded again afresh to the new database and all outdated 
 contents/discrepancies will be cleared as well.


###### NOTE: Rebuilding for POP accounts is not recommended. Because the database will be 
###### cleaned and re-downloaded from the server and the current database will be lost.