IpCamera: New IP Camera Binding

Hi, i already use my cam and this binding to provide me an email with a recorded gif, when someone rings the bell.

This is working fine.

Now i tried to use mp4 instead of gif. I changed the Action-command. But i only get files with 0 bytes.

Is there something i have to change? Do i have to add someting into the things-file?

First line alone is working, second line gifs me a file with 0 byte.

getActions("ipcamera", "ipcamera:dahua:CamEingang").recordGIF("ipcamera",20)
getActions("ipcamera", "ipcamera:dahua:CamEingang").recordMP4("ipcamera",20)


**and my email-command:**
mailActions.sendMail("xxx@gmail.com", "Openhab IP-Cam Haustür", "Openhab IP-Cam", "file:///tmpfs/camera1/ipcamera.gif" )
mailActions.sendMail("xxx@gmail.com", "Openhab IP-Cam Haustür", "Openhab IP-Cam", "file:///tmpfs/camera1/ipcamera.mp4" )
    

And second question: How can i send me an email with a jpeg picture instead of a gif-file, when someone rings my bell?