@Der_Rote wrote:
I can already send a SMS by connecting a SIM card.
Not just a SIM card - you'd also need a GSM (cellular) radio module!
The SIM card is just your authentication to use the network.
To send an email, you'd need to implement an email client (eg, SMTP), which would also require a TCP/IP stack.
As @STTwo-32 suggested, many cellular modules have such things built in - access via AT Commands.
Or, as @Tesla DeLorean suggested, you may be able to find an SMS-to-email gateway service ...
BTW: note that GSM (2G & 3G) services are being phased-out (already gone in some places) - so probably not a great idea to be starting a project now based on a 2G module like SIM900...
https://www.emnify.com/blog/global-2g-3g-phase-out
#2Gsunset #3Gsunset