Proton Mail has introduced a new capability to its iOS application that allows users to search the actual text within their encrypted emails. Previously, the service only permitted searches based on metadata such as sender addresses and subject lines. This update marks a significant functional shift for users who rely on the platform for secure communication.
Local Indexing for Privacy
The engineering challenge behind this feature stems from Proton Mail’s core privacy model. Because the company does not hold the decryption keys for user emails, it cannot build a searchable index of email contents on its own servers. Traditional email providers typically index content centrally, but Proton Mail has chosen a different path to protect user data.
According to the company, the solution involves building the search index directly on the user’s device. When a user activates the content search feature, the app initiates a setup process. During this phase, historical emails are downloaded to the iPhone, decrypted locally, and stripped down to individual keywords. The system then constructs an inverted index, which is encrypted and stored securely on the device itself.
Proton Mail stated that this initial indexing process typically takes just a few minutes for most users. The company noted that the local index consumes approximately 50MB of storage space for tens of thousands of emails. Once the index is built, subsequent searches for words within email bodies are performed locally. The results are generated by the device rather than being retrieved from Proton Mail’s servers.
Automatic Updates and Web Improvements
The system is designed to handle new messages automatically. As new encrypted emails arrive in the inbox, they are indexed without requiring manual intervention from the user. This ensures that the search functionality remains current with the user’s inbox.
Users retain full control over their data. The app includes settings that allow individuals to delete their local search index at any time. This feature provides an additional layer of security for users who may wish to clear their search history or free up storage space.
In addition to the search functionality, Proton Mail is introducing shortcuts to previously searched and accessed emails. These shortcuts appear directly alongside the search bar, allowing for quicker access to recent queries. The company plans to roll out this feature to all mobile users by the end of December.
While the iOS update is the current focus, Proton Mail indicated that improvements to the existing email content search experience on the web will follow shortly. This suggests a coordinated effort to enhance search capabilities across all platforms while maintaining the same strict privacy standards.
The introduction of encrypted content search addresses a long-standing limitation for privacy-focused email users. By keeping the indexing process local, Proton Mail ensures that the contents of user emails remain inaccessible to the company. This approach aligns with the service’s commitment to end-to-end encryption and zero-access architecture.
Source: 9to5Mac

