Firstly I started with NRF51 development board and ams sensor. We decided to do not use camera to scan content, but only optical sensor to measure distance and color. It reduced a cost of the beacon.
Based on these details we can compute how many items were inserted and who can be a sender (it helps to omit junk mails - they have more colorfull look).
The app for smartphones have simply functionality, just show the list of the items inside the mailbox. With NRF51422 only bluetooth lowe energy enabled devices can be used. In future we plan to adjust radio power depends on user location with periodically gps enabling.