Add functionality and mail processing.