patron_emailer.pl
patron_emailer.pl [--report ][--notice][--module] --library --from
 Options:
    --help                       brief help
    --report                     report ID to use as data for email template
    --notice                     specific notice code to use
    --module                     which module to find the above notice in
    --library                    specified branch for selecting notice, will use all libraries by default
    --from                       specified email for 'from' address, report column 'from' used if not specified
    --email                      specified column to use as 'to' email address, report column 'email' used if not specified
    --verbose                    increased verbosity, will print notices and errors
    --commit                     send emails, without this script will only report
Print brief help and exit.
Print full documentation and exit.
Specify a saved SQL report id in the Koha system to user for the emails. All, and only, columns in the report will be available for notice template variables
Specific notice (CODE) to select
Which module to find the specified notice in
Option to specify which branches notice should be used, 'All libraries' is used if not specified
Specify the sender address of the email, if not specified a 'from' column in the report will be used.
Specify the column to find recipient address of the email, if not specified an 'email' column in the report will be used.
Increased verbosity, reports successes and errors.
Send emails, if omitted script will report as verbose.