Hello @Heku_
Try chaging the _key from @email to @id
Your code will look like this:
var recipient =<recipient _key = "@id" id = {e.@id} /> // assuming e.@id is the recipient id
nms.subscription.Subscribe(e.@sub,recipient,false)
If you don't have the recipient id value in the targetData...