diff --git a/src/freedombone-notification b/src/freedombone-notification
index 5ecd09db7d8a63f4f38366a8df9f9eeabac36a8f..164a89197ed98c80b06b06b38356f0612c660dc4 100755
--- a/src/freedombone-notification
+++ b/src/freedombone-notification
@@ -101,7 +101,7 @@ fi
 image_extra=''
 if [ -f $notification_image_filename ]; then
     # extra option for mail command
-    image_extra="-A $notification_image_filename"
+    image_extra=" -A $notification_image_filename"
 
     # If syncthing is installed then copy the image to the admin
     if [ -d "/home/$ADMIN_USERNAME/Sync" ]; then
@@ -112,7 +112,7 @@ fi
 # send email to administrator
 if [ "$SUBJECT" ]; then
     # shellcheck disable=SC2086
-    echo "$MESSAGE" | mail -s "$SUBJECT" $image_extra "$ADMIN_EMAIL_ADDRESS"
+    echo "$MESSAGE" | mail -s "$SUBJECT"$image_extra "$ADMIN_EMAIL_ADDRESS"
 fi
 
 if [ -d /etc/prosody ]; then