https://neon.tech/postgresql/postgresql-tutorial/postgresql-merge
In PostgreSQL MERGE statement examples

if you set email unique, you can't insert like it
INSERT INTO leads(name, email) VALUES ('John Doe', '[[email protected]](../cdn-cgi/l/email-protection.html)'), ('Jane Doe', '[[email protected]](../cdn-cgi/l/email-protection.html)') RETURNING *;
Expected results:

Actual result:
