add file field for action mail

currently only support file field only for mail action