New token processor

mattwire requested to merge mattwire/emailapi:newtokenprocessor into master

@jaapjansma This switches the emailapi extension to use the new token processor. It works nicely for me but it should be tested carefully to ensure that each use-case continues to work.

The default after this PR is to pass in entity IDs directly as parameters eg. activity_id, contribution_id instead of as extra_data.

Edited by mattwire

Merge request reports