To keep my question as short as possible

Target state: If someone pushes the doorbell, I like to receive a mail with an attachment (i.e. camera snapshot)
I have a question about the following setup:
1. Bought and installed a doorbell from Action (433mhz)
2. Installed a camera at the front door
3. Installed Domoticz on my Synology (last stable update)
This works like a charm!

I took the next steps for a doorbell trigger including a camera snapshot:
1. Install the doorbell in Domoticz.
The doorbell is recognized immediately, but I get a doorbell icon with a fire alarm/rotating beacon pictogram Is this normal?
2. Created a virtual doorbell switch
3. Setup the camera (string) gi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=, etc (this works as a charm)
4. Combined/added the virtual doorbell switch to the camera (step 3)
5. Added the virtual doorbell switch to the real doorbell device/switch as a Sub Slave device
6. Create a blockly script
I don’t know if I am missing a step or making a mistake in setting up the configuration, but my blockly script does’nt recognize the ‘alarm/normal’ status of the doorbell.
Based on the status 'alarm/normal' I have to trigger the virtual doorbell switch and then send an e-mail with attachment or am I wrong?
Thank you in advance for your help.
Best regards,
Hans