#!/bin/bash function curl_mail { curl --url 'smtps://mailout.privat.bahnhof.se:465' --ssl-reqd\ --mail-from 'johan@rydson.st'\ --mail-rcpt 'johan.p1sson@gmail.com'\ --user 'mc536304:Traceur22Traceur'\ -T <(echo -e 'From: johan@rydson.st\nTo: johan.p1sson@gmail.com\nSubject: yo-bot Test\n\n'$1) } curl_mail "$(python3 ask_llm.py --ip="192.168.50.215" -m "dolphin3:8b" 'you are Yo-bot. Write a short, friendly mail to Johan, ask how he is doing. do not add any mail subject')"