You cannot use custom record, transaction, and activity together as an email related record; these three records are mutually exclusive.
Only entityId is compatible with other records