As a standard, the document generation “retry” email sends 3 times before it fails. If you would like to modify the number of retries in app setting, see following steps:

Setup > Develop > Custom Settings > click “Manage” next to A5 Documents Settings > Edit > Modify “number of retries” field to new preferred number > Hit “save” after updating.