added mailer_delivery_address to parametes and removed the lock file deletion