fix: use current page object as fallback
update: check for efg
added: global for path to swift mailer class,
added: more compatibility branches