Trying to forward multiple emails with one Lambda
Solution 1:
A lambda will let you do whatever you want within the time, memory and size limits. You can send as many emails as you want as long as you don't go above those limits or hit another external limit (eg: API limits).
I don't understand your python code. Are you trying to create 3 different methods? You can do this by creating just 1 method and passing the sender and recepient as parameters to these methods.
separator = ";"
def create_message(file_dict, sender, recepient):
# Your Email logic goes here
create_message({}, os.environ['[email protected]'], os.environ['[email protected]'])
create_message({}, os.environ['[email protected]'], os.environ['[email protected]'])
create_message({}, os.environ['[email protected]'], os.environ['[email protected]'])