1) The file doesn't get attached to the outgoing email, although I can
find it in /tmp/gnorbxxxxx.
2) When odt is the backend, there is an unassigned variable failure in
org-export-as (the variable is hfy-user-sheet-assoc). Oddly odt
export to text works fine (though it is not sensible). I note you
call org-export-to-file directly; of course exporting from org mode
would call org-odt-export-to-odt. But I'm not sure if that's the
issue.
From bug report:
1) The file doesn't get attached to the outgoing email, although I can find it in /tmp/gnorbxxxxx.
2) When odt is the backend, there is an unassigned variable failure in org-export-as (the variable is hfy-user-sheet-assoc). Oddly odt export to text works fine (though it is not sensible). I note you call org-export-to-file directly; of course exporting from org mode would call org-odt-export-to-odt. But I'm not sure if that's the issue.