Adjust available expression for paste action.

Use `object` instead of `folder` to call the `is_pasting_allowed`, because it's
not guaranteed that all folder allways returns the current context.
Disable paste action for mails.