Refactor incoming mail code.
Added local_scan supplier.
Added url to callback parameters.